hydroflows.methods.dummy.postprocess_dummy_event#
Dummy methods for testing and user documentation.
- pydantic model hydroflows.methods.dummy.postprocess_dummy_event.PostprocessDummyEventInput[source]#
Input files for the PostprocessDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Fields:
- pydantic model hydroflows.methods.dummy.postprocess_dummy_event.PostprocessDummyEventOutput[source]#
Output files for the PostprocessDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Fields:
- pydantic model hydroflows.methods.dummy.postprocess_dummy_event.PostprocessDummyEventParams[source]#
Parameters for the PostprocessDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class hydroflows.methods.dummy.postprocess_dummy_event.PostprocessDummyEvent(model_nc: Path, output_dir: Path, event_name: str | None = None)[source]#
Postprocess a dummy event.
- Parameters:
model_nc (Path) – Model output netcdf file
output_dir (Path) – The output directory
event_name (str, optional) – The event name, by default None