We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5e4cc commit a106569Copy full SHA for a106569
xarray/core/parallel.py
@@ -522,10 +522,8 @@ def subset_dataset_to_block(
522
expected["data_vars"] = set(template.data_vars.keys()) # type: ignore[assignment]
523
expected["coords"] = set(template.coords.keys()) # type: ignore[assignment]
524
expected["indexes"] = {
525
- dim: coordinates.xindexes[dim][
526
- _get_chunk_slicer(dim, chunk_index, output_chunk_bounds)
527
- ]
528
- for dim in coordinates.xindexes
+ dim: index[_get_chunk_slicer(dim, chunk_index, output_chunk_bounds)]
+ for dim, index in coordinates.xindexes.items()
529
}
530
531
from_wrapper = (gname,) + chunk_tuple
0 commit comments