-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pydap support is broken for recent releases of pydap (and on Python 3) #1174
Comments
@taeold - can you see if you can open the test dataset via pydap directly? |
This looks like a Python 2 vs 3 thing. ( Until it's latest release (within the last month), pydap didn't support Python 3. Now it does (yay!) but we haven't updated xarray for the latest pydap. Switching Contributions here would definitely be welcome! We even have some pydap specific tests, but they aren't run by default in continuous integration because they require accessing an external server (see Somewhat related is pydap/pydap#33, which will allow us to run a pydap server as part of our test suite. |
Thanks for your replies! @jhamman Yes - pydap can open the file without issue:
@shoyer I set up the testing environment using this (currenlty failing) recipe (python 2.7)! I think the issue might not be python2/3 compatibility, but that the datatype returned from the pydap client ( I'll dig a bit more deeper - maybe an upstream change in pydap is reasonable? |
See #1439 for a fix |
Hello!
I was hoping to spend some of my end-of-the-year free time picking up low-hanging fruits in xarray, and while trying to clean up tests failures as mentioned in #1109, I've come across an issue using
engine='pydap'
.Specifically, I can't get
engine='pydap'
to work at all:latest xarray + latest pydap (3.2.0)
From my best attempt at looking over the
xarray
code and playing withpydap.client
, I'm beginning to suspect thatengine='pydap'
no longer working in xarray (for instance - as noted in the exception msg above - you cannot calliteritems()
onpydap.model.DatasetType
butxarray
insists on doing so).Is what I'm seeing and suggesting correct? If so, is xarray still committed to supporting
pydap
as an engine (and be a worthwhile things for a new contributors to work on)?The text was updated successfully, but these errors were encountered: