home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 813098350

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/1352#issuecomment-813098350 https://api.github.com/repos/pydata/xarray/issues/1352 813098350 MDEyOklzc3VlQ29tbWVudDgxMzA5ODM1MA== 14808389 2021-04-04T20:59:43Z 2021-04-04T20:59:43Z MEMBER

bisecting tells me that this seems to have been fixed by 8632cd7b3f468865db4dc9e5c09075f941dc70f2 (#1648): ```python import xarray as xr import numpy as np

da = xr.DataArray( np.linspace(0, 1, 2 * 3 * 4).reshape(2, 3, 4), coords={"x": ["a", "b"], "y": ["x", "y", "z"], "z": np.arange(4)}, dims=("x", "y", "z"), name="abc", ) da.loc["a", "x"].to_dataset().to_netcdf("test.nc") xr.open_dataset("test.nc").load() # to verify that the netcdf file is valid ``` only fails before that commit.

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