home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 569417459

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/3633#issuecomment-569417459 https://api.github.com/repos/pydata/xarray/issues/3633 569417459 MDEyOklzc3VlQ29tbWVudDU2OTQxNzQ1OQ== 35968931 2019-12-28T13:29:17Z 2019-12-28T13:29:17Z MEMBER

@willirath if the problem is that you don't know the dimensions of the dataset until after you've opened it, you could always open first then chunk afterwards, I think the result is the same: ```python chunks = {'x': 5}

ds = xr.open_dataset("example.nc")

if 'y' in ds.dims: chunks['y'] = 1

ds = ds.chunk(chunks=chunks) ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  538909075
Powered by Datasette · Queries took 102.72ms · About: xarray-datasette