xMIP
xMIP copied to clipboard
Refine options for handling of mismatches in metric dimensions
The handling of errors during the "metric-matching" step is still not great:
- The docstrings of
postprocessing.match_metrics
andpostprocessing._parse_metric
need to include all valid options - I would like another option
'ignore'
, which simply skips the dataset in question (this might have to be implemented one level higher inpostprocessing.match_metrics
. Perhaps something likeinclude_no_match
which if False, skips both datasets with no match and errors (this might be neat because the errors could still be printed?).
Prominent example that always seems to trigger this is one/some of the GISS models which have areas that do not have the same shape as the data.