iiasa / ixmp4

A data warehouse for high-powered scenario analysis in the domain of integrated assessment of climate change and energy systems modeling
https://docs.ece.iiasa.ac.at/ixmp4
MIT License
11 stars 6 forks source link

Implement simple filters #64

Closed danielhuppmann closed 7 months ago

danielhuppmann commented 7 months ago

This PR implements a "short-hand notation" for filters in the facade-layer following the conventions of the pyam package, which allows to do df.filter(variable="Primary *") for like-comparing (using * as a wildcard).

The implementation replaces string or lists to the more elaborate filter-dictionary-style used in the ixmp4 data layer and the Rest API.