parq_blockmodel.io.ingest_utils.validate_xyz_parquet

parq_blockmodel.io.ingest_utils.validate_xyz_parquet#

parq_blockmodel.io.ingest_utils.validate_xyz_parquet(parquet_path, axis_azimuth=0.0, axis_dip=0.0, axis_plunge=0.0, chunk_size=1000000, tol=1e-06)[source]#

Validate xyz-defined Parquet input and return inferred geometry.

Parameters:
  • parquet_path (Path) – Path to the Parquet file to validate.

  • axis_azimuth (float, default 0.0) – Rotation angle for axis orientation.

  • axis_dip (float, default 0.0) – Rotation angle for axis orientation.

  • axis_plunge (float, default 0.0) – Rotation angle for axis orientation.

  • chunk_size (int, default 1_000_000) – Batch size for reading Parquet data.

  • tol (float, default 1e-6) – Tolerance for xyz to ijk conversion.

Returns:

Inferred geometry from the Parquet file.

Return type:

RegularGeometry