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

cdms2 axis cannot have dictionary as attribute values #156

Closed
doutriaux1 opened this issue Aug 16, 2017 · 1 comment
Closed

cdms2 axis cannot have dictionary as attribute values #156

doutriaux1 opened this issue Aug 16, 2017 · 1 comment
Assignees

Comments

@doutriaux1
Copy link
Contributor

import cdms2
import MV2

a = MV2.ones((12,12))
ax = cdms2.createAxis(MV2.arange(12))
ax.someattribute = {1:"fg"}

a.setAxis(0,ax)

with cdms2.open("bad.nc","w") as f:
    f.write(a)
@dnadeau4
Copy link
Contributor

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