itacart.boundary.is_boundary_cell
- itacart.boundary.is_boundary_cell(cell)[source]
Whether a cell touches any grid discontinuity.
True for prime-meridian triangles, antemeridian cells and extension-zone edge cells. A coarse screen; use
cell_shape()orextension_zone()when the specific condition matters.- Parameters:
cell (
str) – Compositional index string.- Return type:
- Returns:
A boolean for a single cell, or a positionally aligned list.
- Raises:
NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.