Skip to content

same_geometry

Import path: earth2studio.grids.same_geometry

View source on GitHub

Documentation

Whether two grid definitions describe the same points.

Coordinates match within 1e-9; HEALPix grids match by their attributes.

Parameters:

  • a (GridDefinition) –

    Grids to compare.

  • b (GridDefinition) –

    Grids to compare.

Returns:

  • bool –

    True when both have the same topology, dimensions, shape, CRS and points.