We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After applying cdutil.region.domain, the transient variable lost the unit attributes
The text was updated successfully, but these errors were encountered:
import cdms2 import cdutil import vcs vcs.download_sample_data_files f=cdms2.open(vcs.sample_data+"/clt.nc") s=f("clt") AA = cdutil.region.AAZ() s2=s(AA) print s.units print s2.units
fails with:
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-14-5cf75df63c22> in <module>() 7 s2=s(AA) 8 print s.units ----> 9 print s2.units AttributeError: 'TransientVariable' object has no attribute 'units'
Sorry, something went wrong.
actually loses all attributes from s
07627e2
Merge pull request #10 from UV-CDAT/issue_9_domain_no_units_att
7b5d33a
fix #9
doutriaux1
dnadeau4
No branches or pull requests
After applying cdutil.region.domain, the transient variable lost the unit attributes
The text was updated successfully, but these errors were encountered: