Skip to content

Commit 3ba30c7

Browse files
authored
Clarify that passing indexes={} does work on xarray main, just concat doesn't
1 parent 97da298 commit 3ba30c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ Indexes:
205205
*empty*
206206
```
207207

208-
```{note}
209-
Passing `indexes={}` will only work if you use a [specific branch of xarray](https://github.com/pydata/xarray/pull/8872), as it requires an in-progress PR, see [GH issue #14](https://github.com/TomNicholas/VirtualiZarr/issues/14#issuecomment-2018369470).
210-
```
211-
212208
As we know the correct order a priori, we can just combine along one dimension using `xarray.concat`.
213209

214210
```
@@ -232,6 +228,10 @@ Attributes:
232228
title: 4x daily NMC reanalysis (1948)
233229
```
234230

231+
```{note}
232+
Concatenation without indexes like this will only work if you use a [specific branch of xarray](https://github.com/pydata/xarray/pull/8872), as it requires an in-progress PR, see [GH issue #14](https://github.com/TomNicholas/VirtualiZarr/issues/14#issuecomment-2018369470).
233+
```
234+
235235
We can see that the resulting combined manifest has two chunks, as expected.
236236

237237
```python

0 commit comments

Comments
 (0)