parq_blockmodel.utils.geometry_utils.validate_geometry

parq_blockmodel.utils.geometry_utils.validate_geometry(filepath)[source]

Validates the geometry of a Parquet file by checking if the index (centroid) columns are present and have valid values.

Parameters:

filepath (Path) – Path to the Parquet file.

Raises:

ValueError – If any index column is missing or contains invalid values.

Return type:

None