-
Notifications
You must be signed in to change notification settings - Fork 47
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
Clarification of weighting in cell_methods #447
Comments
Copied from #414 (comment) Dear Karl @taylor13 At the moment, as you say, there is no information in
Therefore, rather than defining defaults, I think we should introduce new syntax for indicating the weights explicitly. If no weighting was indicated, it would mean the same as now i.e. undefined. The syntax could be e.g. "name Best wishes Jonathan |
Copied from #414 (comment) by @taylor13 Thanks, Jonathan, for your input on how weighting might be included without violating principle 9. We would want to consider whether to include it within the parentheses (the way we include "interval:") or whether it would follow directly the "where" directive. Also, we need to think about what "key words" would be needed and the procedure for expanding the list if need be (e.g., "weighted_by mass" might not be specific enough; might need "weighted_by mass_of_snow", or "weighted_by mass_of_seaice", etc.) You are right that it is clearly specifying the weights that is highest priority. |
Dear Karl I'm glad you sound comfortable with the suggestion of My preference is not to put this clause in parentheses. I'd put it as the last clause before the parenthesis (if there is one). Regarding the definition of possible keywords, I suppose it depends on how many might be needed. If a very small number, they could be defined in sect 7. If a larger but fairly small number, they could be in a new appendix. If a large number, they could be given in a separate document, like the area_type table. The first two require a change to the convention for amendment, the latter is a controlled vocabulary and easier to amend. We have discussed two which do not refer to any quantity except a metric of the cell: extent and unity. I expect we might also want area and volume (for methods that affect both horizontal dimensions together, or all three spatial dimensions together). Four is a fairly small number, I'd say. What others might be needed for CMIP7, do you think? For mass-weighting, a keyword is not adequate. We should probably indicate what substance's mass is being referred to. It might be obvious that we mean air for a vertical coordinate of You made a proposal for area-weighting, that it should be applied by default if Best wishes Jonathan |
I am still trying to wrap my head around these matters. But one thing that strikes me with these additions is that the content of the
In the construction |
Dear @larsbarring et al. Perhaps it would be better and simpler not to make the syntax look so much like English. Instead of Cheers Jonathan |
Hello, It might be useful to refer to cf-convention/discuss#173, which discusses, amongst other things, how to represent weights in cell methods, and what the existing defaults are (e.g. currently it is unspecified whether or not area-weighting was applied for My interpretation of the original text is that I prefer the more explicit Thanks, |
I agree with @davidhassell on this:
OK. How about just |
Initiated:
2022-11-22 by @taylor13 in #414, 1st point referred to in Karl's summary extracted into this issue by @JonathanGregory on 22 Aug 2023
Moderator:
@bnlawrence
Moderator Status Review [last updated: YYYY-MM-DD]
Requirement Summary
Provide metadata about weighting for cell methods
Technical Proposal Summary
Introduce default interpretations on how weighting of means and other statistics should be applied. Existing datasets may have relied on the vagueness of the convention (to this point) in accommodating a different weighting (i.e., no default specification of the weighting).
Benefits:
Those writing and reading CF-compliant data will have clearer guidance and more definitive rules for interpreting the cell_methods.
Associated pull request:
None yet.
Detailed Proposal
After the first two paragraphs of Sect 7.3, @taylor13 suggests inserting a paragraph while not modifying the paragraph immediately following:
The inserted paragraph explains how by default the grid-cell values have been computed from the contributing samples. This greatly reduces the need to include the so-called "non-standardized information" regarding the
cell_methods
.In section the 3rd paragraph of 7.3.1, @taylor13 proposes to define default weighting for 2-d (area) means and 3-d means, which also apply to other statistics involving sums:
Without this default specification of weighting, data writers would have to provide parenthetical non-standardized information for most of the variables they write.
The text was updated successfully, but these errors were encountered: