Skip to content

Cube merge string coords.#475

Merged
esc24 merged 1 commit intoSciTools:masterfrom
bjlittle:merge_strings
May 1, 2013
Merged

Cube merge string coords.#475
esc24 merged 1 commit intoSciTools:masterfrom
bjlittle:merge_strings

Conversation

@bjlittle
Copy link
Member

Primarily, this PR extends the capability of cube merge to correctly deal with string coordinates.

Previously, cube merge did not take into account the dtype of a coordinate, and as a result it was possible for cube merge to consider/nominate a string coordinate over other more appropriate numeric coordinates to describe a dimension.

This PR allows cube merge to now favour numeric over string coordinates. It also takes the additional step to allow cube merge to favour DimCoord scalar coordinates over AuxCoord scalar coordinates. This provides a simple mechanism that allows a user to easily hint to cube merge which scalar coordinate to consider when attempting to describe a dimension.

This PR also resolves the situation when a NotYetImplementedError exception was raised when the situation of No functional relationship between separable and inseparable candidate dimensions was determined. Instead, the candidate coordinates participating within this group are all enumerated along an anonymous dimension.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like this has been truncated ... ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh ... nice spot!

@bjlittle
Copy link
Member Author

bjlittle commented May 1, 2013

Updated copyright year end and created issue #484 to cover future work 👍

esc24 added a commit that referenced this pull request May 1, 2013
@esc24 esc24 merged commit e4bf245 into SciTools:master May 1, 2013
@bjlittle bjlittle deleted the merge_strings branch May 2, 2013 11:39
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.

3 participants