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

missing_value attribute in file not respected when reading in #18

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

missing_value attribute in file not respected when reading in #18

doutriaux1 opened this issue Oct 12, 2016 · 4 comments
Assignees
Milestone

Comments

@doutriaux1
Copy link
Contributor

test_tvariable.py line 50

@dnadeau4
Copy link
Contributor

Where is test_tvariable.py? I cannot find it.

@doutriaux1
Copy link
Contributor Author

hum... not sure...

@dnadeau4
Copy link
Contributor

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
Copy link
Contributor

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
Projects
None yet
Development

No branches or pull requests

2 participants