cmor
cmor copied to clipboard
PrePARE checks on cell_methods and cell_measures too strict??
In emails the following suggestion has been made by A. Adcroft:
I think it is useful to check the methods and measures attributes but at L605 the test is for
an exact match
if str(table_value) != str(file_value):
which could be made more forgiving. Something like
if str(table_value) not in str(file_value):
would at least allow additional attributes to be provided by the model. Whether a partial
match like this works for all attributes might is not clear to me and could break some other
test since this conditional is used for other keys.
Let's discuss before acting on this suggestion.