home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 811481334

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/pull/5065#issuecomment-811481334 https://api.github.com/repos/pydata/xarray/issues/5065 811481334 MDEyOklzc3VlQ29tbWVudDgxMTQ4MTMzNA== 1217238 2021-03-31T21:35:11Z 2021-03-31T21:35:11Z MEMBER

Why is chunk getting called here? Does it actually get called every time we load a dataset with chunks? If so, we will need a more sophisticated solution.

This happens specifically on this line: https://github.com/pydata/xarray/blob/ddc352faa6de91f266a1749773d08ae8d6f09683/xarray/core/dataset.py#L438

So perhaps it would make sense to copy encoding specifically in this case, e.g., python new_var = var.chunk(chunks, name=name2, lock=lock) new_var.encoding = var.encoding

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