[export] ExportConfig#
TOML section: [export]
Pydantic model: ExportConfig defined in hydromodpy.simulation.planning.export_config.
Automated export configuration loaded from the top-level [export] section.
Fields#
csv_timeseries
bool default = False user source
Export time series to CSV at the end of the run. Off by default: the canonical time series lives in tables.parquet; CSV is an on-demand export.
package
bool default = False user source
Also write a portable ‘<run>.hmp’ archive (config, provenance, fields, timeseries, RO-Crate) after the run finalizes. The one-line switch for ‘this run must be shareable forever’.
output_dir
str | None default = None dev source
Output directory for exports. Defaults to project results folder.
variables
in TOML:
[export.variables]
ExportVariablesConfig factory user source
Which variables to include in exports.
times
Union[int, list[int], str] default = “last” user source
Timestep selector for field/raster exports: ‘first’, ‘last’, ‘all’, a timestep index, or a list of indices. Time-series CSV always covers all steps. A vtu, a geotiff and a shapefile hold ONE timestep per file, so a selector naming several collapses to the last for them and the run says so; only the NetCDF export carries the whole selection.
One of: "first" "last" "all"
resolution
float | None default = None dev source
GeoTIFF pixel size in CRS units for toggle exports. Auto-derived from the grid when omitted.
artifacts
in TOML:
[[export.artifacts]]
list[ExportSpec] factory dev source
Explicit export artifacts: full control over variable, format, timestep and destination, beyond the format toggles above.