hydroflows.methods.wflow.wflow_update_factors#
Downscale a climate change factor dataset to the resolution of a wflow model and add to settings file.
- class hydroflows.methods.wflow.wflow_update_factors.WflowUpdateChangeFactors(change_factor_dataset: Path, wflow_toml: Path, output_dir: Path, **params)[source]#
Downscale a climate change factor dataset to the resolution of a wflow model and add to settings file.
- Parameters:
change_factor_dataset (Path) – Path to the to be downscaled dataset.
wflow_toml (Path) – Path to the wflow settings toml that needs to be adjusted.
**params – Additional parameters to pass to the WflowDownscale instance. See
wflow_update_factors Params
.
See also
wflow_update_factors Input
wflow_update_factors Output
wflow_update_factors Params
- pydantic model hydroflows.methods.wflow.wflow_update_factors.Input[source]#
Input parameters.
This class represents the input data required for the
WflowUpdateChangeFactors
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.
- pydantic model hydroflows.methods.wflow.wflow_update_factors.Output[source]#
output parameters.
this class represents the output data generated by the
WflowUpdateChangeFactors
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.
- field wflow_change_factors: Path [Required]#
Path to the change factor dataset at wflow model resolution.
- pydantic model hydroflows.methods.wflow.wflow_update_factors.Params[source]#
Parameters for the
WflowUpdateChangeFactors
.Instances of this class are used in the
WflowUpdateChangeFactors
method to define the required settings.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.