MCPcopy Index your code
hub / github.com/pydata/xarray / chunksizes

Method chunksizes

xarray/core/dataset.py:2494–2510  ·  view source on GitHub ↗

Mapping from dimension names to block lengths for this dataset's data. If this dataset does not contain chunked arrays, the mapping will be empty. Cannot be modified directly, but can be modified by calling .chunk(). Same as Dataset.chunks. See Also

(self)

Source from the content-addressed store, hash-verified

2492
2493 @property
2494 def chunksizes(self) -> Mapping[Hashable, tuple[int, ...]]:
2495 """
2496 Mapping from dimension names to block lengths for this dataset's data.
2497
2498 If this dataset does not contain chunked arrays, the mapping will be empty.
2499
2500 Cannot be modified directly, but can be modified by calling .chunk().
2501
2502 Same as Dataset.chunks.
2503
2504 See Also
2505 --------
2506 Dataset.chunk
2507 Dataset.chunks
2508 xarray.unify_chunks
2509 """
2510 return get_chunksizes(self.variables.values())
2511
2512 def chunk(
2513 self,

Callers

nothing calls this directly

Calls 2

get_chunksizesFunction · 0.90
valuesMethod · 0.45

Tested by

no test coverage detected