digger._utils.check

Functions that check user inputs.

Functions:

crs m0 overlap paths_exist

Module Contents

Functions

crs

Ensure that the coordinate reference systems associated with the files in the list of paths are all the same.

m0

overlap

paths_exist

API

digger._utils.check.crs(paths: list[str | pathlib.Path]) None

Ensure that the coordinate reference systems associated with the files in the list of paths are all the same.

If not, raise ValueError

https://pyproj4.github.io/pyproj/stable/crs_compatibility.html

digger._utils.check.m0(m0)
digger._utils.check.overlap(topo_shp, material_shp) None
digger._utils.check.paths_exist(paths: list) None