issues: 516306758
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
516306758 | MDU6SXNzdWU1MTYzMDY3NTg= | 3476 | Error when writing string coordinate variables to zarr | 6943441 | open | 0 | 16 | 2019-11-01T19:32:29Z | 2024-01-25T17:39:42Z | NONE | I saved an xarray dataset to zarr using MCVE Code Sample```python import xarray as xr sm_from_zarr = xr.open_zarr('test_sm_zarr') sm_from_zarr.to_zarr('test_sm_zarr_from', mode='w') ``` Expected OutputNo error Problem DescriptionI get this error:
sm_from_zarr = xr.open_zarr('test_sm_zarr') sm_from_zarr['site_code'] = sm_from_zarr.site_code.astype('str') sm_from_zarr.to_zarr('test_sm_zarr_from', mode='w')
Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3476/reactions", "total_count": 8, "+1": 8, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |