home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 780900086

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/4826#issuecomment-780900086 https://api.github.com/repos/pydata/xarray/issues/4826 780900086 MDEyOklzc3VlQ29tbWVudDc4MDkwMDA4Ng== 39069044 2021-02-17T22:36:08Z 2021-02-17T22:36:08Z CONTRIBUTOR

I ran into this as well with the basic netcdf backends:

```python import xarray as xr

ds = xr.Dataset( data_vars={"foo":(["x"], [False, True, False])}, coords={"x": [1, 2, 3]}, ) ds.to_netcdf('test.nc') ds = xr.load_dataset('test.nc') print(ds.foo.dtype) ds.to_netcdf('test.nc') ds = xr.load_dataset('test.nc') print(ds.foo.dtype) Gives: bool int8 ```

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