home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 604181264

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/3815#issuecomment-604181264 https://api.github.com/repos/pydata/xarray/issues/3815 604181264 MDEyOklzc3VlQ29tbWVudDYwNDE4MTI2NA== 90008 2020-03-26T01:49:45Z 2020-03-26T01:49:45Z CONTRIBUTOR

And actually, zarr provides a data argument in create_dataset that actually encounters the same bug python import zarr import numpy as np name = 'hello' data = np.array('world', dtype='<U5') store = zarr.ZipStore('test_store.zip', mode='w') root = zarr.open(store , mode='w') zarr_array = root.create_dataset(name, data=data, shape=data.shape, dtype=data.dtype) zarr_array[...]

I guess i can open upstream in zarr, but I think for catching the 0 sized array case, it is probably best to use the data argument.

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