iiasa / aneris

Harmonization of Emissions Trajectories for Integrated Assessment Models
Apache License 2.0
4 stars 11 forks source link

Reharm #55

Closed gidden closed 1 year ago

gidden commented 1 year ago

This PR standardizes the internal Harmonizer class require input data in the form of pd.DataFrames and pd.Series with aligned pd.MultiIndexes. Convenience methods have been adapted to work directly with pyam.IamDataFrames and support prior use cases from @znicholls.

FYI @coroa a work in progress... In principle this is now good to go for primetime testing.

I will say that the HarmonizationDriver (and related utilities) is quite old and out of step with other code here. For example, forcing all the indices into pyam-ish style, etc. Perhaps we can make a cmip6 module and shove all that there so we are backwards compatible but otherwise start clean. Any thoughts - maybe specifically to @znicholls ?

gidden commented 1 year ago

closing to put this on upstream remote so we can chain PRs