pyam icon indicating copy to clipboard operation
pyam copied to clipboard

Standard unit support for all emissions species

Open gidden opened this issue 4 years ago • 1 comments

In reviewing a PR for aneris I noticed that the following passes

df.convert_unit('Mt CO2/yr', to='kt CO2/yr')

and the following fails

df.convert_unit('Mt BC/yr', to='kt BC/yr')

It's not urgent, but I'd be keen for pyam to support at least simple unit conversions for all emissions species IAMs use. If someone (@danielhuppmann?) can point me in the right direction to get started, happy to tackle this (eventually)

gidden avatar Sep 01 '21 16:09 gidden

Black carbon isn't listed in https://github.com/openclimatedata/globalwarmingpotentials and the derived emissions species in https://github.com/IAMconsortium/units, not sure why...

Options for resolving this:

  1. Add BC to those packages (no need to make any changes in pyam, just update iam-units)
  2. If there is a good reason why BC shouldn't be treated in those packages, make an alternative proposal

danielhuppmann avatar Sep 02 '21 06:09 danielhuppmann