Skip to content

Releases: openscm/openscm-units

v0.6.3

17 Oct 11:12
Compare
Choose a tag to compare

Announcements

  • None, just testing the GitHub actions

Changelog

🔧 Trivial/Internal Changes

Changes

v0.6.2

17 Oct 10:05
Compare
Choose a tag to compare

Announcements

  • Added support for NO as a NOx unit, which now makes it easier to support CMIP data 🎉

Changes

v0.6.1

09 Jul 07:09
Compare
Choose a tag to compare

Announcements

  • Fixed accidental aliasing of "yr" to "a" 🐛

    We had accidentally assigned "yr" to be an alias for "a".
    This meant we had the following behaviour

    >>> from openscm_units import unit_registry
    >>> val = unit_registry.Quantity(1, "yr")
    >>> val
    <Quantity(1, 'a')>

    This is now fixed so that if you pass in "yr", it stays as yr i.e. you get

    >>> from openscm_units import unit_registry
    >>> val = unit_registry.Quantity(1, "yr")
    >>> val
    <Quantity(1, 'yr')>

Changes

v0.6.0

15 Jun 12:57
Compare
Choose a tag to compare

Announcements

  • Added metrics from the third assessment report (TAR), specifically TARGWP20, TARGWP100, TARGWP500

Changes

v0.5.4

11 Dec 16:27
Compare
Choose a tag to compare

Announcements

  • This is a hot-fix release as v0.5.3 had the LICENSE metadata set incorrectly

Changes

v0.5.3

06 Dec 13:02
Compare
Choose a tag to compare

Announcements

Changes

v0.5.2

27 May 03:04
Compare
Choose a tag to compare
  • (#40 <https://github.com/openscm/openscm-units/pull/40>) Fixed broken definition of ppm, caused by regression in Pint where 'ppm' was added to Pint <https://github.com/hgrecco/pint/pull/1661>

v0.5.0

07 Sep 00:09
Compare
Choose a tag to compare
  • (#30 <https://github.com/openscm/openscm-units/pull/30>_) Custom metrics are now to be provided as :obj:pd.DataFrame rather than being read off disk
  • (#29 <https://github.com/openscm/openscm-units/pull/29>) Load Global Warming Potentials from globalwarmingpotentials <https://github.com/openclimatedata/globalwarmingpotentials> package.

v0.4.0

03 Aug 23:17
Compare
Choose a tag to compare
  • (#28 <https://github.com/openscm/openscm-units/pull/28>_) Add ability to use a custom metrics csv with :class:ScmUnitRegistry
  • (#28 <https://github.com/openscm/openscm-units/pull/28>_) Drop Python3.6 support
  • (#27 <https://github.com/openscm/openscm-units/pull/27>_) Add github action to automatically draft a github release from a git tag.

v0.3.0

21 Jul 23:12
Compare
Choose a tag to compare

v0.3.0

  • (#25 <https://github.com/openscm/openscm-units/pull/25>_) Add "N2O_conversions" context to remove ambiguity in N2O conversions
  • (#23 <https://github.com/openscm/openscm-units/pull/23>) Add AR5 GWPs with climate-carbon cycle feedbacks (closes #22 <https://github.com/openscm/openscm-units/issues/22>)
  • (#20 <https://github.com/openscm/openscm-units/pull/20>) Make openscm_units.data a module by adding an __init__.py file to it and add docs for openscm_units.data (closes #19 <https://github.com/openscm/openscm-units/issues/19>)
  • (#18 <https://github.com/openscm/openscm-units/pull/18>) Made NH3 a separate dimension to avoid accidental conversion to CO2 in GWP contexts. Also added an nh3_conversions context to convert to nitrogen (closes #12 <https://github.com/openscm/openscm-units/issues/12>)
  • (#16 <https://github.com/openscm/openscm-units/pull/16>) Added refrigerant mixtures as units, including automatic GWP calculation from the GWP of their constituents. Also added the unit_registry.split_gas_mixtures function which can be used to split quantities containing a gas mixture into their constituents (closes #10 <https://github.com/openscm/openscm-units/issues/10>)