issues: 186895655
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
186895655 | MDU6SXNzdWUxODY4OTU2NTU= | 1075 | Support creating DataSet from streaming object | 3698640 | closed | 0 | 16 | 2016-11-02T19:19:04Z | 2020-06-01T06:37:08Z | 2018-01-11T23:58:41Z | CONTRIBUTOR | The use case is for netCDF files stored on s3 or other generic cloud storage ```python 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 character ``` Ideal would be integration with the (hopefully) soon-to-be implemented dask.distributed features discussed in #798. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1075/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |