IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
227 stars 118 forks source link

Add `read_ixmp4()` method and extend integration test #826

Closed danielhuppmann closed 7 months ago

danielhuppmann commented 7 months ago

Please confirm that this PR has done the following:

Description of PR

This PR adds an initial read_ixmp4() function to query data from an ixmp4 platform. Note that this function currently only allows to get all IAMC-timeseries data and meta indicators for all scenarios or only default scenarios. More elaborate filters will be added in a subsequent step.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 97.36842% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.8%. Comparing base (350d57a) to head (c2cf7a5).

Files Patch % Lines
pyam/ixmp4.py 93.3% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #826 +/- ## ===================================== Coverage 94.8% 94.8% ===================================== Files 64 64 Lines 6092 6125 +33 ===================================== + Hits 5778 5810 +32 - Misses 314 315 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.