-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow filtering of tag-lists #416
Comments
Puh, that's a tricky one, option 1 is certainly more efficient but option 2 is more explicit and covers more complex filters. |
Yeah, probably option 2 makes more sense. To give some context, look at this example: https://github.com/IAMconsortium/common-definitions/blob/main/definitions/variable/energy/tag_secondary_energy_carriers_level-3.yaml There are at least three dimensions where the filter could be useful:
|
Working with ever-longer lists of variables in the common-definitions repo, I'm wondering how to more efficiently structure the creation of combinations.
One idea is to add filters, e.g.
which would only take the elements from the tag-list that have an attribute
ccs: True
. Alternative simple filters would be tier- or level-attributes.An alternative solution would be to add a dedicated filter-attribute, like
Any thoughts @phackstock @dc-almeida?
The text was updated successfully, but these errors were encountered: