Skip to content

Making coords into cubes and vice-versa#61

Closed
pp-mo wants to merge 5 commits into
coord_as_cube_BRANCHOFFfrom
coord_as_cube
Closed

Making coords into cubes and vice-versa#61
pp-mo wants to merge 5 commits into
coord_as_cube_BRANCHOFFfrom
coord_as_cube

Conversation

@pp-mo

@pp-mo pp-mo commented Jun 3, 2020

Copy link
Copy Markdown
Owner

WIP: incomplete, for discussion

Some ideas (incomplete) for extracting a coordinate as a cube.
And the reverse operation : putting a cube inside another cube (with matching dims) as an aux-coord.

For discussion, see: SciTools#3726
Where it is also explained that these ideas should be extended to ancillary-data + cell-measures.

Comment thread lib/iris/util.py
# Handle naming, units and attributes, allowing passed keywords to override
# the item properties.
keysdict = locals()
for property_name in ('var_name', 'long_name', 'standard_name', 'units'):

@pp-mo pp-mo Mar 22, 2023

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code probably now wants to be replaced with use of ".metadata" and the common-metadata approach generally.
I think all that stuff is new since this was written !

@pp-mo pp-mo closed this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant