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

CommonDataset.nc_object shouldn't try to use MFDataset on a remote dataset #72

Open
daf opened this issue Mar 21, 2014 · 0 comments
Open

Comments

@daf
Copy link
Member

daf commented Mar 21, 2014

When trying to use CommonDataset.nc_object on a URL, and the first attempt at opening it fails (usually due to a 404 or similar), don't bother attempting MFDataset as it won't work remotely. Due to netcdf4-python's implementation, it won't notice until you pass a str() of the url, which is several layers down - it doesn't properly check for unicode or string.

We can error out earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant