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

missing_value attribute in file not respected when reading in #18

Closed
doutriaux1 opened this Issue Oct 12, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@doutriaux1
Member

doutriaux1 commented Oct 12, 2016

test_tvariable.py line 50

@dnadeau4

This comment has been minimized.

Contributor

dnadeau4 commented Oct 31, 2016

Where is test_tvariable.py? I cannot find it.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Oct 31, 2016

hum... not sure...

@dnadeau4

This comment has been minimized.

Contributor

dnadeau4 commented Oct 31, 2016

It seems that when we create a variable with subRegion, the missing_value is reset to 1.e20

(Pdb) v.subRegion((366., 731., 'ccn'), (-42., 42., 'ccn'), (90., 270.)).getMissing()
1e+20
(Pdb) v.getMissing()
-99.9
@dnadeau4

This comment has been minimized.

Contributor

dnadeau4 commented Oct 31, 2016

BTW, this is a new test created by @chaosphere2112 the file is here:
https://github.com/UV-CDAT/cdms/blob/master/Test/test_tvariable.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment