Changelog#

Versions follow Semantic Versioning (<major>.<minor>.<patch>).

Backward incompatible (breaking) changes will only be introduced in major versions with advance notice in the Deprecations section of releases.

openscm-units v0.5.4 (2023-12-11)#

Trivial/Internal Changes#

openscm-units v0.5.3 (2023-12-06)#

Improved Documentation#

  • Move docs on design decisions out of src/openscm_units/_unit_registry.py into a dedicated notebook (#47)

Trivial/Internal Changes#

openscm-units 0.5.2#

openscm-units 0.5.1#

  • Generate static usage documentation from the introduction notebook (#33)

  • Update documentation regarding NOx conversions. (#34)

  • Fixed Series.iteritems() removal in pandas, see e.g. #150 in primap2 (#38)

openscm-units 0.5.0#

  • Custom metrics are now to be provided as :obj:pd.DataFrame rather than being read off disk (#30)

  • Load Global Warming Potentials from globalwarmingpotentials package. (#29)

openscm-units 0.4.0#

  • Add ability to use a custom metrics csv with :obj:ScmUnitRegistry (#28)

  • Drop Python3.6 support (#28)

  • Add github action to automatically draft a github release from a git tag. (#27)

openscm-units 0.3.0#

  • Add “N2O_conversions” context to remove ambiguity in N2O conversions (#25)

  • Add AR5 GWPs with climate-carbon cycle feedbacks (closes #22) (#23)

  • Make openscm_units.data a module by adding an __init__.py file to it and add docs for openscm_units.data (closes #19) (#20)

  • 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) (#18)

  • 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) (#16)

openscm-units 0.2.0#

  • Update CI so that it runs on pull requests from forks too (#15)

  • Renamed openscm_units.unit_registry module to openscm_units._unit_registry to avoid name collision and lift ScmUnitRegistry to openscm_units.ScmUnitRegistry (closes #13) (#14)

openscm-units 0.1.4#

  • Added C7F16, C8F18 and SO2F2 AR5GWP100 (closes #8) (#7)

openscm-units 0.1.3#

  • Include metric conversions data in package (#7)

  • Add conda install instructions (#6)

openscm-units 0.1.2#

  • Update MANIFEST.in to ensure LICENSE, README.rst and CHANGELOG.rst are included in source distributions (#5)

  • Update README and url to point to openscm organisation (#4)

openscm-units 0.1.1#

  • Hotfix so that ‘Tt’ is terra tonne rather than ‘tex’ (#2)

openscm-units 0.1.0#

  • Setup repository (#1)