mhm_run_overview#
Build run-overview statistics from mHM namelist-linked NetCDF files.
This module reads an mHM namelist, resolves referenced input directories/files, finds output mHM_Fluxes_States.nc files from dir_Out(*), computes summary statistics per variable, and writes a CSV overview table.
The written table has columns: - file_name - variable - vartype (input or output) - min_value - mean_value - max_value - unit - file_path
Rows are ordered with all input variables first, then output variables. Within each type, rows are sorted by file_name and then variable.
If multiple domains are configured using indexed paths (for example dir_out(1), dir_out(2)), one CSV table per domain is written.
Classes#
|
Container for one string assignment parsed from a namelist line. |
Functions#
|
Collect input NetCDF files from namelist entries. |
|
Collect forcing files used to infer input temporal resolution. |
|
Collect mHM_Fluxes_States.nc files from dir_Out(*) entries. |
|
Collect table rows for all numeric variables in given datasets. |
|
Compute min/mean/max for a variable. |
|
Create a CSV overview table for input/output NetCDF variables. |
|
Guess the time dimension of a DataArray. |
|
Parse string assignments from a namelist file. |
|
Resolve a path from namelist context to an absolute path. |