hydromodpy.spatial.geographic.store_ingestion#

Ingest geographic preprocessing outputs into the SimulationCatalog.

Called once per project after CatchmentDelineation processing completes. Reads rasters (via rasterio) and shapefiles (via geopandas) from the file-based outputs, then writes them into the catalog (Zarr + DuckDB) so that downstream consumers can read from the store directly.

Functions

cleanup_stable_folder(geographic)

dump_cached_rasters_to_disk(geographic)

persist_geographic_to_store(geographic, store, *)

Ingest geographic rasters, features and metadata into the catalog.