issues: 543197350
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
543197350 | MDU6SXNzdWU1NDMxOTczNTA= | 3653 | "[Errno -90] NetCDF: file not found: b" when opening netCDF from server | 29660939 | closed | 0 | 7 | 2019-12-28T14:54:41Z | 2023-03-10T17:26:06Z | 2020-01-02T00:09:36Z | NONE | I am currently trying to read netCDF files directly from a THREADS server or from Azure blob storage using xarray.open_dataset using a url. I have tested NetCDFs from several sources and the files themselves appear to be fine. xarray_open_dataset works if I download them to my local environment using either wget.download or just moving the files manually. MCVE Code Sample```python import xarray as xr url = 'https://ooiopendata.blob.core.windows.net/botpt/NOAA_NCDC_ERSST_v3b_SST.nc' ds = xr.open_dataset(url) ``` I have also tested it with these additional urls:
Expected Output - In all cases, the expected output is the xarray dataset:
Problem DescriptionAs far as I can tell, permissions are not the issue and neither are the files because the url's will download the files and xarray will open the files that I download. The only thing I am not able to do is open the files with xarray directly from the server. Any help or suggestions are greatly appreciated. Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |