Open orichters opened 4 months ago
Yes, and pyam v2.1 added a validate()
method that will be able to directly use attributes as in your suggestion. Just need some free time on our hands to implement it in nomenclature, and come up with a good syntax for the yaml files: shares should always be between 0 and 100, but global CO2 emissions should be between 35000 and 45000 Mt only in 2020 (but not apply the validation to other years).
Dear @danielhuppmann,
I wonder whether it is planned or advisable to add some "sanity checks" for variables:
There were such attempts in CDLINKS and I think that would be really useful (and could in the future also be checked in the submission process):