hydromodpy.data.variables.geology.io#
Input/output layer for geology sources.
Supported input sources:
- Raster grids (.tif, .tiff)
- Vector polygons (.shp, .gpkg, .geojson, .json)
Unified output contract:
- encoded_codes: 2D integer grid (0 = nodata)
- encoded_to_zone: int -> str mapping
- spatial metadata (transform, crs)
Functions
|
Return the default geology data source backed by |
|
Infer geology source kind from extension when |
|
Load geology data from config and normalize it to one encoded grid contract. |
|
Load geology data and normalize it on an explicit |
|
Load a vector geology source, optionally crop to bbox, save as GeoPackage. |
|
Load vector geology source and return a GeoDataFrame ready for plotting. |
|
Resolve one data path from either repository root or config-folder context. |
Classes
|
Concrete |