home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 863271758

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/1329#issuecomment-863271758 https://api.github.com/repos/pydata/xarray/issues/1329 863271758 MDEyOklzc3VlQ29tbWVudDg2MzI3MTc1OA== 1492047 2021-06-17T14:08:54Z 2021-06-17T14:11:47Z CONTRIBUTOR

Hello,

Using the same code sample:

``` import numpy import xarray

ds = xarray.Dataset( {"a": ("x", [])}, coords={"x": numpy.zeros(shape=0, dtype="M8[ns]")})

ds.to_netcdf("/tmp/test.nc")

xarray.open_dataset("/tmp/test.nc") ```

It works on xarray 0.17 but does not work anymore with xarray 0.18 & 0.18.2.

This addition seems to be responsible (coming from this commit).

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