itacart.index.base_cell_of

itacart.index.base_cell_of(index)[source]

Resolution-1 ancestor of the addressed cells.

Parameters:

index (str) – Compositional index string.

Return type:

str | list[str]

Returns:

A base cell index for a single cell, or a positionally aligned list. Each entry is fully qualified, e.g. "SE(1400/0374)".

Raises:

InvalidIndexError – If any addressed cell is a whole quadrant, which has no resolution-1 ancestor.