-
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
Issue relating to warning message from CMOR #456
Comments
Hi, |
The CF conventions state that |
I have just noticed that we probably also have |
Ok I checked that. If the vertices of an unstructured grid vary from cell to cell, the model that I looked on just duplicates values for the unused indices of the vertices dimension. But what is the better approach? Using _FillValue or this? |
@wachsylon @ehogan : I don't think CMOR3 can handle missing values in cell vertices although that is what should be done according to the output requirements document
I suspect that the strategy of "just duplicating" values for the unused indices is a sensible approach. Any comments? |
@wachsylon @ehogan We are developing specs for a remapping "weights" file where we also need to store cell vertices. Our guidance there is:
i.e. "duplicating values". There was some discussion in the CF community during 2017 and 2018 on how to handle this, and folks reluctantly seemed to think defining _fillValue and missing_value was o.k., but no one was thrilled. For background, see the "grid cells with a varying number of cell bounds" thread starting here, but continuing in 2018. No one at that time came up with the "duplicating values" option. I have now suggested that alternative by raising an issue on the CF github page. Do you think it would be o.k. to modify the CMIP6 guidance quoted above with the following?
|
I prefer the |
This issue is stale, closing |
The issue I opened on CF recently (here) was resolved by agreeing the CF would include this: "For grids constructed from cells that do not all have the same number of sides (e.g., some rectangular cells and some triangular cells), the cell_bounds must be dimensioned to accommodate the maximum number of cell vertices. For cells with fewer than the maximum number of vertices, the unneeded elements in cell_bounds should be assigned the The output requirements document document is already consistent with this. It states: "If a cell has fewer than the maximum number of vertices, the remaining values should be set to 1.0d20, and missing_value and _FillValue attributes should be attached to both the latitude and longitude vertice variables and assigned the value 1.0d20." So I agree that this can be closed. |
Good morning :)
The following warning message appears in some of our CMOR logs:
The coordinate variables in the input netCDF files all contain a
_FillValue
attribute, which is equal to1.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
is1.e20
, rather than the value provided bycmor_variable
.Would it be possible to update CMOR to use the
missing_value
provided bycmor_variable
so that these warnings aren't printed?The text was updated successfully, but these errors were encountered: