-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
The use case is for netCDF files stored on s3 or other generic cloud storage
import requests, xarray as xr
fp = 'http://nasanex.s3.amazonaws.com/NEX-GDDP/BCSD/rcp45/day/atmos/tasmax/r1i1p1/v1.0/tasmax_day_BCSD_rcp45_r1i1p1_MPI-ESM-LR_2029.nc'
data = requests.get(fp, stream=True)
ds = xr.open_dataset(data.content) # raises TypeError: embedded NUL characterIdeal would be integration with the (hopefully) soon-to-be implemented dask.distributed features discussed in #798.
jgerardsimcock, NotSqrt, niallrobinson and fgreg
Metadata
Metadata
Assignees
Labels
No labels