hydromodpy.data.common.io_helpers#
I/O helpers: CSV, Parquet, SHP/GPKG readers and filename conventions.
Functions
|
True for the format templates shipped by |
|
Parse TYPE_SOURCE_ID_YYYYMMDD_YYYYMMDD_FREQ.ext, return groups or None. |
|
Parse datetime column (ISO strings or Unix timestamps ms/s). |
|
Parse TYPE_SOURCE_LOC.ext, return groups or None. |
|
Auto-detect format and read locations. |
|
Read CSV location file into StationLocation list. |
|
Read SHP/GeoPackage location file. |
|
|
|
Read chronicle CSV and normalize to [datetime, value] columns. |
|
Replace non-alphanumeric chars with underscore for safe filenames. |
|
Write DataFrame to Parquet. |