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

Allow non-float cell measures #3428

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Conversation

lbdreyer
Copy link
Member

@lbdreyer lbdreyer commented Oct 1, 2019

Currently, we do not allow the creation of cell measures with non-float data as it is claimed that this is not supported until CF1.7

As of #3406 we are now committed to CF1.7 so we can now support this.

It is worth mentioning that I struggled to find reference to the

Non-floating cell measures are not valid up to CF v1.7

in the CF documenstation. But regardless, we can remove this restriction now.

self.var_name = var_name

#: Unit of the quantity that the coordinate represents.
#: Unit of the quantity that the cell measure represents.
Copy link
Member

Choose a reason for hiding this comment

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

@lbdreyer Nice spot... clearly cut'n paste syndrom 🤣

@bjlittle bjlittle self-assigned this Oct 1, 2019
@bjlittle
Copy link
Member

bjlittle commented Oct 1, 2019

@lbdreyer Nice one, looks good to me 👍

@bjlittle bjlittle merged commit 17d69e9 into SciTools:master Oct 1, 2019
@lbdreyer lbdreyer deleted the cell_measure_ints branch June 23, 2021 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants