Skip to content

Commit 1392c2f

Browse files
authored
Adjust for small change in signature of private xarray function _nested_combine (#779)
* adjust for small change in the signature of the private xarray function xarray.structure.combine._nested_combine * release note
1 parent 2f52055 commit 1392c2f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/releases.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
### Bug fixes
1010

11+
- Adjust for minor upcoming change in private xarray API `xarray.structure.combine._nested_combine`.
12+
([#779](https://github.com/zarr-developers/VirtualiZarr/pull/779)).
13+
By [Tom Nicholas](https://github.com/TomNicholas).
14+
1115
### Documentation
1216

1317
### Internal changes

virtualizarr/xarray.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import xarray.indexes
1818
from xarray import DataArray, Dataset, Index, combine_by_coords
1919
from xarray.backends.common import _find_absolute_paths
20+
from xarray.core import dtypes
2021
from xarray.core.types import NestedSequence
2122
from xarray.structure.combine import _infer_concat_order_from_positions, _nested_combine
2223

@@ -261,6 +262,7 @@ def _open(path: str) -> xr.Dataset:
261262
ids=ids,
262263
join=join,
263264
combine_attrs=combine_attrs,
265+
fill_value=dtypes.NA,
264266
)
265267
elif combine == "by_coords":
266268
# Redo ordering from coordinates, ignoring how they were ordered

0 commit comments

Comments
 (0)