Skip to content

Allow missing_value as a user set attribute #2866

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

Closed
wants to merge 3 commits into from

Conversation

zklaus
Copy link

@zklaus zklaus commented Oct 26, 2017

This allows the user to set missing_value as an attribute on a
cube while ensuring that it is saved as local attribute in the
netcdf file.

Fixes #1588

Signed-off-by: Klaus Zimmermann klaus.zimmermann@smhi.se

This allows the user to set missing_value as an attribute on a
cube while ensuring that it is saved as local attribute in the
netcdf file.

Signed-off-by: Klaus Zimmermann <klaus.zimmermann@smhi.se>
@pelson pelson added the Blocked: CLA needed See https://scitools.org.uk. Submit the form at: https://scitools.org.uk/cla/v4/form label Oct 26, 2017
@ajdawson
Copy link
Member

Thanks @zklaus. There are some test failures to deal with. For the license tests you just need to change 2016 to 2017 on the first line of _cube_coord_common.py. I'm not sure why the doctests fail, doesn't look like your fault.

It would be nice to have this new functionality tested too, do you have an idea of how you might do that?

@pelson pelson added Blocked: CLA needed See https://scitools.org.uk. Submit the form at: https://scitools.org.uk/cla/v4/form Release: Patch labels Oct 26, 2017
Signed-off-by: Klaus Zimmermann <klaus.zimmermann@smhi.se>
@zklaus
Copy link
Author

zklaus commented Oct 27, 2017

Fixed the license issue. I'll add a test while waiting for the answer to my cla.

This adds missing_value to the list of always data variable attributes
in test_attributes.

Signed-off-by: Klaus Zimmermann <klaus.zimmermann@smhi.se>
@QuLogic
Copy link
Member

QuLogic commented Oct 27, 2017

Is there any point to targetting the v1.13.x branch right now?

@ajdawson
Copy link
Member

No, this should be targeted on master.

@zklaus
Copy link
Author

zklaus commented Oct 30, 2017

I created pr #2892 with the same intention, but based on master.

@zklaus zklaus closed this Oct 30, 2017
@zklaus zklaus deleted the allow-missing-value branch February 25, 2019 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked: CLA needed See https://scitools.org.uk. Submit the form at: https://scitools.org.uk/cla/v4/form Release: Patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants