grids.mixins.chunking.GridChunkingMixin.get_chunk_bbox#

GridChunkingMixin.get_chunk_bbox(chunks: ChunkIndexInput, axes: AxesInput | None = None, include_ghosts: bool = False, halo_offsets: HaloOffsetInput | None = None, oob_behavior: str = 'raise') BoundingBox[source]#

Return the physical bounding box (lower, upper) of a given chunk.

This works for both vertex- and cell-centered grids by computing edge coordinates over the full domain and slicing into them appropriately.