hydromodpy.results.parquet_schemas#
PyArrow schemas for every per-simulation Parquet view.
One declared pa.Schema per file under
simulations/<basename>.parquet/. These schemas are the single source of
truth for column names, Arrow types, nullability, primary keys, and field-level
metadata (units, descriptions, allowed values). The catalog write path casts
incoming records to the matching schema before handing them to
hydromodpy.results.parquet_io.write_table_atomic().
Schema-level metadata embeds hmp.schema, hmp.schema_version, hmp.pk
and CF Conventions. Per-field metadata documents the physical unit and a
short description. PARQUET_SCHEMA_VERSION is bumped to v2 and rejected
at read time when a Parquet file ships an older marker.
Module attributes
|
Current Parquet schema generation. |
|
CF convention version embedded in schema metadata. |
|
Per-simulation timeseries observations and outputs. |
|
Per-simulation water budget per zone and component. |
|
Per-simulation global mass balance summary. |
|
Per-simulation calibration and validation metrics. |
|
Per-simulation provenance records for inputs and derived arrays. |
|
Logical schema of the GeoParquet 1.1 vector files. |
|
Map of per-simulation view name to declared |
Functions
|
Raise |
|
Return the declared |
Exceptions
|
Raised when a Parquet file ships an unsupported |