Skip to content

Commit 6bb180a

Browse files
authored
Update Xarray api access (TGSAI#688)
1 parent 320b392 commit 6bb180a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"segy>=0.5.0",
3030
"tqdm>=4.67.1",
3131
"universal-pathlib>=0.2.6",
32-
"xarray>=2025.9.0",
32+
"xarray>=2025.9.1",
3333
"zarr>=3.1.3",
3434
]
3535

src/mdio/api/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from upath import UPath
1111
from xarray import Dataset as xr_Dataset
1212
from xarray import open_zarr as xr_open_zarr
13-
from xarray.backends.api import to_zarr as xr_to_zarr
13+
from xarray.backends.writers import to_zarr as xr_to_zarr
1414

1515
from mdio.constants import ZarrFormat
1616
from mdio.core.zarr_io import zarr_warnings_suppress_unstable_structs_v3

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)