-
Notifications
You must be signed in to change notification settings - Fork 283
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
DOC: Note about collapsing multi-dimensional coordinates #1819
Conversation
|
||
Instead you must either fully collapse the coordinate (in this case | ||
requiring that both ``grid_latitude`` or ``grid_longitude`` coordinates be | ||
collapsed together in a single collapse operation) or not collapse the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Third option - remove the surface altitude.
👍 in principle. My major hesitation is on the addition to the userguide. Could you take a look at the built userguide, and tell me if you think the addition makes the flow work as well in the context of it being a document designed to be used as a readable narrative? The addition to the reference documentation I am absolutely 👍 on. |
@@ -98,6 +98,22 @@ in the gallery takes a zonal mean of an ``XYT`` cube by using the | |||
``collapsed`` method with ``latitude`` and ``iris.analysis.MEAN`` as arguments. | |||
|
|||
|
|||
.. note:: | |||
You cannot partially collapse a multi-dimensional coordinate. Thus in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Action: make into a single sentence and cross reference "reference docs".
As per @pelson's suggestions above, I have:
|
DOC: Note about collapsing multi-dimensional coordinates
Adds a note on partially collapsing multi-dimensional coordinates to the userguide §9.1,
iris.cube.Cube.collapsed
andiris.coords.Coord.collapsed
.