itacart.cells.sinusoidal_to_cell
- itacart.cells.sinusoidal_to_cell(x, y, resolution)[source]
Address a cell from projection-plane coordinates.
Skips the forward projection; useful when coordinates are already on the plane, as in bulk cell filling. The boundary screen still runs, so it inverts the position back to geodetic first – the antemeridian is a meridian, not a plane coordinate, and cannot be tested on
xalone once the parallel has been scaled bycos(phi).- Parameters:
- Return type:
- Returns:
The atomic compositional index of the containing cell. Inside the cell that holds a pole at resolution 10, at resolutions 11 and 12, it can be a spelling that names no cell, which
itacart.boundary.is_valid_cell()denies (a known limitation; see the module’s notes).- Raises:
ResolutionError – If
resolutionis out of range.DomainError – If the position is outside the addressable domain.