Just wanted to dump this here, since we now have fixed our required global attributes for CORDEX. I'm not sure if it's by intention, but it seems like the order of variables in the required_global_attributes tables seems to matter when they are evaluated during cmorization. This is probably related to https://github.com/PCMDI/cmor/issues/628. For example, if if have...
... and my input dataset file contains domain_id: "EUR-50", cmor will correctly and automatically add the global attributes domain: "Europe" to the file. However, this wil not work if the domain attribute comes before the domain_id attribute in the list of required_global_attributes, e.g., this will not work...
Just wanted to dump this here, since we now have fixed our required global attributes for CORDEX. I'm not sure if it's by intention, but it seems like the order of variables in the
required_global_attributes
tables seems to matter when they are evaluated during cmorization. This is probably related to https://github.com/PCMDI/cmor/issues/628. For example, if if have...... and my input dataset file contains
domain_id: "EUR-50"
, cmor will correctly and automatically add the global attributesdomain: "Europe"
to the file. However, this wil not work if thedomain
attribute comes before thedomain_id
attribute in the list ofrequired_global_attributes
, e.g., this will not work...This is somehow confusing and it's not the case for attributes like, e.g.,
source_id
andsource
....