cmor
cmor copied to clipboard
Issue relating to warning message from CMOR
Good morning :)
The following warning message appears in some of our CMOR logs:
Warning: Invalid value(s) detected for variable 'vertices_latitude' (table: grids):
1943040 values were greater than maximum valid value (90).Maximum encountered bad
value (1e+30) was at (axis: index/value): j: 0/0 i: 0/0 vertices: 0/0
The coordinate variables in the input netCDF files all contain a _FillValue
attribute, which is equal to 1.e_30f
. This is equal to the value of the _FillValue
attribute of the data variables in the input netCDF files and also to the value that is provided to cmor_variable.
In CMOR, where this warning is generated, the check of whether the values are greater/lower than the maximum/minimum value is being performed assuming the missing_value
is 1.e20
, rather than the value provided by cmor_variable
.
Would it be possible to update CMOR to use the missing_value
provided by cmor_variable
so that these warnings aren't printed?