Closed larsbuntemeyer closed 3 years ago
I am fine with this kind of thing. Do you think it can be tested?
thx for the hint, should there be an exception test if opendap is used with netcdf4 engine and auth sessions?
We should definitely raise a meaningful exception for the combinations that don't work, rather than letting it fail later.
Everything looks good here.
Running again with the new CI setup.
should there be an exception test if opendap is used with netcdf4 engine and auth sessions
I leave this up to you. What happens right now in this case?
Ok, now the instantiation is allowed, but it raises a ValueError
, e.g.
ValueError: Opendap session requires 'pydap' engine.
at discovery time. This is similar behaviour to the case if an invalid session identifier is selected. There is also a test now that will check this behaviour.
thx!
draft pull request for https://github.com/intake/intake-xarray/issues/90