issues
1 row where type = "issue" and user = 31890 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2024303763 | I_kwDOAMm_X854qGyT | 8516 | Appending to a ZARR dataset removes dimension separator attribute | jbeezley 31890 | open | 0 | 1 | 2023-12-04T16:52:27Z | 2023-12-04T17:42:37Z | NONE | What happened?When creating a ZARR store with What did you expect to happen?It should retain the original storage attributes. Minimal Complete Verifiable Example```Python import json import xarray as xr from zarr.storage import MemoryStore store = MemoryStore(dimension_separator="/") ds = xr.Dataset( {"data": xr.DataArray([0.0], dims=("x",))}, coords={ "x": xr.DataArray([0.0], dims=("x",)), }, ) ds.to_zarr(store, mode="w", consolidated=False) assert json.loads(store["data/.zarray"].decode()).get("dimension_separator") == "/" ds = xr.Dataset( {"data": xr.DataArray([1.0], dims=("x",))}, coords={ "x": xr.DataArray([1.0], dims=("x",)), }, ) ds.to_zarr( store, append_dim="x", consolidated=False ) assert json.loads(store["data/.zarray"].decode()).get("dimension_separator") == "/" ``` MVCE confirmation
Relevant log output```Python AssertionError Traceback (most recent call last) File ~/xarray_repro/run.py:29 18 ds = xr.Dataset( 19 {"data": xr.DataArray([1.0], dims=("x",))}, 20 coords={ 21 "x": xr.DataArray([1.0], dims=("x",)), 22 }, 23 ) 24 ds.to_zarr( 25 store, 26 append_dim="x", 27 consolidated=False 28 ) ---> 29 assert json.loads(store["data/.zarray"].decode()).get("dimension_separator") == "/" AssertionError: ``` Anything else we need to know?No response Environment
INSTALLED VERSIONS
------------------
commit: None
python: 3.11.5 (main, Aug 24 2023, 15:18:16) [Clang 14.0.3 (clang-1403.0.22.14.1)]
python-bits: 64
OS: Darwin
OS-release: 22.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: None
libnetcdf: None
xarray: 2023.11.0
pandas: 2.1.3
numpy: 1.26.2
scipy: None
netCDF4: None
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: 2.16.1
cftime: None
nc_time_axis: None
iris: None
bottleneck: None
dask: 2023.11.0
distributed: None
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2023.12.0
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 68.1.2
pip: 23.2.1
conda: None
pytest: None
mypy: None
IPython: 8.18.1
sphinx: None
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8516/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);