Skip to content

Convert source from coord to attribute. Fixes #10#39

Merged
esc24 merged 1 commit into
SciTools:masterfrom
bjlittle:convert_source_history
Aug 17, 2012
Merged

Convert source from coord to attribute. Fixes #10#39
esc24 merged 1 commit into
SciTools:masterfrom
bjlittle:convert_source_history

Conversation

@bjlittle
Copy link
Copy Markdown
Member

Convert source coordinate to cube attribute.

Note that, as the source is now an attribute, performing cube arithmetic e.g. cube - cube results in the cube attributes being cleared, and thus the source metadata is lost.

Cube history is maintained as a cube attribute as a result of the previous CF porting exercise.

Comment thread lib/iris/cube.py
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are these now being sorted?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ignore that - it's in summary and makes it easier to find things at glance.

esc24 added a commit that referenced this pull request Aug 17, 2012
Convert source from coord to attribute. Fixes #10
@esc24 esc24 merged commit 613b497 into SciTools:master Aug 17, 2012
corinnebosley added a commit to corinnebosley/iris that referenced this pull request Feb 15, 2017
* fixed typo lazy_array to lazy_data; give fill_value attribute to all lazy data
bjlittle pushed a commit that referenced this pull request Feb 23, 2017
* fixed typo lazy_array to lazy_data; give fill_value attribute to all lazy data
bjlittle referenced this pull request in bjlittle/iris May 31, 2017
* fixed typo lazy_array to lazy_data; give fill_value attribute to all lazy data
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.

2 participants