The error ValueError: Bin labels must be one fewer than the number of bin edges is usually due to having less class limits than labels for them. limits the edges of all bins (labels), including the first and last ones, not just the threshold values between them.
The error Malformed model_run string when parsing Qasmi Constrained Mediterranean Dtas ssp245 2050 JJA: ssp245 occurs typically when the MODEL_r1i1p1f1 are e.g. missing the underscore or the member. In this case it was due some missing indentation. The hint here is that the offending key is ssp245. I.e. it is trying to read the cenario as if it were a model_run string:
The error
ValueError: Bin labels must be one fewer than the number of bin edges
is usually due to having less class limits than labels for them.limits
the edges of all bins (labels
), including the first and last ones, not just the threshold values between them.https://github.com/WCRP-CORDEX/cmip6-for-cordex/blob/6019d07d4625b313c41bf914b440ab3fba723bf3/CMIP6_studies/Qasmi.yaml#L196-L198
The error
Malformed model_run string when parsing Qasmi Constrained Mediterranean Dtas ssp245 2050 JJA: ssp245
occurs typically when the MODEL_r1i1p1f1 are e.g. missing the underscore or the member. In this case it was due some missing indentation. The hint here is that the offending key isssp245
. I.e. it is trying to read the cenario as if it were a model_run string:https://github.com/WCRP-CORDEX/cmip6-for-cordex/blob/6019d07d4625b313c41bf914b440ab3fba723bf3/CMIP6_studies/Qasmi.yaml#L214-L217