home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 628582552

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/4055#issuecomment-628582552 https://api.github.com/repos/pydata/xarray/issues/4055 628582552 MDEyOklzc3VlQ29tbWVudDYyODU4MjU1Mg== 2448579 2020-05-14T11:51:21Z 2020-05-14T11:51:21Z MEMBER

is_scalar(chunks) might be the appropriate condition. is_scalar is already imported from .utils in dataset.py

This seems to work fine in a lot of cases, except automatic chunking isn't implemented for object dtypes at the moment, so it fails if you pass a cftime coordinate, for example.

Can we catch this error and re-raise specifying "automatic chunking fails for object arrays. These include cftime DataArrays" or something like that?

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