Skip to content
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

Making coords into cubes and vice-versa #61

Open
wants to merge 5 commits into
base: coord_as_cube_BRANCHOFF
Choose a base branch
from

Conversation

pp-mo
Copy link
Owner

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

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.

# 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'):
Copy link
Owner Author

@pp-mo pp-mo Mar 22, 2023

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 !

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