WCRP-CORDEX / cmip6-for-cordex

CMIP6 input data selection for CORDEX
https://wcrp-cordex.github.io/cmip6-for-cordex
0 stars 2 forks source link

Bin edges and malformed model_run errors in Qasmi.yaml #23

Closed jesusff closed 4 months ago

jesusff commented 4 months ago

image

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 is ssp245. 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

sam-somot commented 4 months ago

thx