revrt.utilities.base.check_geotiff#

check_geotiff(layer_file_fp, geotiff, transform_atol=0.01)[source]#

Compare GeoTIFF with exclusion layer and raise errors if mismatch

Parameters:
  • layer_file_fp (path-like) – Path to data representing a LayeredFile instance.

  • geotiff (path-like) – Path to GeoTIFF file.

  • transform_atol (float, default 0.01) – Absolute tolerance parameter when comparing GeoTIFF transform data.

Raises:

revrtProfileCheckError – If shape, profile, or transform don’t match between layered file and GeoTIFF file.