-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about handling of missing values in cmor_variable.c #450
Comments
@ehogan are you saying that the data is actually written out with the "user missing value" but the |
The value of the |
Apologies @doutriaux1 for misunderstand your question; after talking with Jamie and checking our data, I now understand that the missing values in the data, as well as the |
Yes this is a good idea. Not terribly urgent I don't think, but let's reword the |
Thanks @taylor13, I agree this isn't urgent :) |
I think we can now reword the "history" text as suggested by @ehogan at the end of #450 (comment) |
In
cmor_variable.c
, in this part of the code, themissing_value
provided by the user is compared with themissing_value
provided in the MIP table (see, e.g. the Emon MIP table).If the
missing_value
provided by the user is non-standard (i.e. not1e20
), when the comparison above is performed, it will always fail, meaning themissing_value
provided by the user is replaced with themissing_value
provided in the MIP table, which is then written to the output netCDF files.Would it be possible to remove this check? Replacing the
missing_value
if it isn't the standard value isn't the correct thing to do, since the value ofmissing_value
written to the output netCDF files will then not correspond to the missing values in the data.The text was updated successfully, but these errors were encountered: