sentinel-energy / friendly_data

Data format to interoperate between models and frameworks
https://sentinel-energy.github.io/friendly_data/
Apache License 2.0
12 stars 2 forks source link

Integration with `pyam` for visualization and data analysis #2

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 4 years ago

I want to express my interest in developing to_sentinel() and read_sentinel() functions in the pyam package, so that one can use the sentinel-archive together with the plotting and analysis features of pyam.

We already have integration with datapackage-py (read the docs), so this should be fairly straightforward.

Please ping when this would be ready to be implemented.

suvayu commented 4 years ago

@danielhuppmann I don't know how I missed this issue, extremely sorry. I'll definitely sync with you when we are at that stage. Maybe in a few weeks. Right now I'm focused on some of the basic features needed for analysis, and building a beginner friendly web interface to create these data packages.

suvayu commented 2 years ago

@danielhuppmann I am closing this issue as I implemented a scheme to convert a Friendly data package into IAMC. You can review the feature set in the docs.

It's not entirely automatic, as the mapping between a model's internal name to an IAMC hierarchy (like the openEntrance/nomenclature) is still a manual process. That said, once someone has done that work for their model, converting their Friendly data package to IAMC can be easily automated. Updating/maintaining the mapping should also be much simpler.

In conclusion, pyam doesn't need to implement anything to take advantage. Further feedback is always welcome :)

danielhuppmann commented 2 years ago

Thanks, @suvayu - had a look at the documentation page, looks great! I hope to take a look soon at the implementation and a simple example and will provide feedback...