home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 221387277

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
221387277 MDU6SXNzdWUyMjEzODcyNzc= 1372 decode_cf() loads chunked arrays 4992424 closed 0     7 2017-04-12T20:52:48Z 2018-04-12T23:38:02Z 2018-04-12T23:38:02Z NONE      

Currently using xarray version 0.9.2 and dask version 0.14.0.

Suppose you load a NetCDF file with the chunks parameter:

python ds = xr.open_dataset("my_data.nc", decode_cf=False, chunks={'lon': 10, 'lat': 10})

The data is loaded as dask arrays, as expected. But if we then manually call xarray.decode_cf(), it'll eagerly load the data. Is this the expected behavior, or should decode_cf() preserve the laziness of the data?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1372/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 7 rows from issue in issue_comments
Powered by Datasette · Queries took 0.592ms · About: xarray-datasette