Allow easier setting of multiple warning levels for same criterion in DataValidator
#439
Labels
enhancement
New feature or request
DataValidator
#439
IIRC, one of the suggested improvements was to change the write-up of multiple warning levels for the same validation criterion.
E.g.: currently, one would write:
This would mean "Primary Energy" would have two levels of warnings,
error
(by default) andlow
. But for that, theIamcDataFilter
attributes (in this case,variable
andyear
) have to be repeated for each level.How would a better write-up look like? I leave an example below:
In this case, I guess
error
could no longer be default, and would require quite a bit of refactoring.Thoughts, @danielhuppmann @phackstock
The text was updated successfully, but these errors were encountered: