(idxr: tuple[Any, ...])
| 1810 | |
| 1811 | |
| 1812 | def _assert_not_chunked_indexer(idxr: tuple[Any, ...]) -> None: |
| 1813 | if any(is_chunked_array(i) for i in idxr): |
| 1814 | raise ValueError( |
| 1815 | "Cannot index with a chunked array indexer. " |
| 1816 | "Please chunk the array you are indexing first, " |
| 1817 | "and drop any indexed dimension coordinate variables. " |
| 1818 | "Alternatively, call `.compute()` on any chunked arrays in the indexer." |
| 1819 | ) |
| 1820 | |
| 1821 | |
| 1822 | class DaskIndexingAdapter(IndexingAdapter): |
no test coverage detected
searching dependent graphs…