hydromodpy.core.io#

Low-level I/O helpers: raster, vector, CRS, JSON, HTTP.

Submodules#

raster_io GeoTIFF / NetCDF loading, clipping, reprojection, export. vector_io Shapefile / GeoPackage helpers. crs pyproj CRS helpers (UTM detection, transform, bootstrap). canonical_json Deterministic JSON dump (stable key ordering, sorted sets). http_client HTTP client with retry / backoff / timeout / SHA-256 streaming.

Modules

canonical_json

Deterministic JSON serialization.

crs

CRS helpers built on pyproj and rasterio.

db_retry

Retry decorator for DuckDB writes that may hit a file-level lock.

filesystem

Filesystem utilities (directory creation, CSV loading).

geoparquet

OGC GeoParquet 1.1 atomic writer.

http_client

Unified HTTP client for HydroModPy data sources.

proj_bootstrap

PROJ database bootstrap (opt-in).

raster_io

Raster I/O: loading, clipping, reprojecting, and exporting GeoTIFF/NetCDF.

vector_io

Vector I/O helpers (shapefile / GeoPackage / GeoParquet).