-
Notifications
You must be signed in to change notification settings - Fork 66
CDAT does not handle unicode string numpy datatypes #330
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
Comments
What are you trying to do? Can you post an example? |
Very simple passing a unicode string to the cdms2 open call and variable call and then passing a coordinate to retrieve the value something like this: f = cdms2.open(unicode_filename_str) |
ok so you meant cdms2 not cdat. Easy enough to fix I'll push a branch today. |
is cdms2 is not part of cdat -:) just wanted to make sure that I call them correctly. In general people separate these two things. Thanks that would be great. Now a days most of the web work is using unicode string (for obvious reasons) and numpy data types are used because we get them from cdat. |
it just helps to pinpoint the issue if we know what doesn't work ;) |
The following works:
Can you copy/paste an example that doesnt work |
Sure, we have that example from the web work. I will see if I can copy paste here. d = self._canvas.plot(data,self._plotTemplate,self._plotType,bg=1) In this line, self._plotType had to be a non-unicode str. |
ok so you can confirm cdms2 works, but it is in vcs? I should be able to push a fix today. |
seems to be duplicte #537 |
Which I think is odd :( we should have support for both of them.
The text was updated successfully, but these errors were encountered: