hydroflows.methods.fiat.fiat_visualize#
Method for visualizing FIAT model results.
- class hydroflows.methods.fiat.fiat_visualize.FIATVisualize(fiat_output_csv: Path, fiat_cfg: Path, scenario_name: str | None = None, spatial_joins_cfg: Path = 'models/fiat/spatial_joins.toml', output_dir: Path = PosixPath('output/fiat'), **params)[source]#
Method for visualizing FIAT model results.
- Parameters:
fiat_output_csv (Path) – The file path to the output csv of the FIAT model.
fiat_cfg (Path) – The file path to the FIAT configuration (toml) file from the FIAT model simulation.
spatial_joins_cfg (Path = "models/fiat/spatial_joins.toml") – The path to the spatial joins configuration file.
**params – Additional parameters to pass to the FIATVisualize instance. See
fiat_visualize Params
.
- pydantic model hydroflows.methods.fiat.fiat_visualize.Input[source]#
Input parameters.
This class represents the input data required for the
FIATVisualize
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 fiat_cfg: Annotated[Path, AfterValidator(func=filedir_validator)] [Required]#
The file path to the FIAT configuration (toml) file from the FIAT model simulation.
- pydantic model hydroflows.methods.fiat.fiat_visualize.Output[source]#
Output parameters.
This class represents the output data generated by the
FIATVisualize
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.fiat.fiat_visualize.Params[source]#
Parameters for the
FIATBuild
.Instances of this class are used in the
FIATBuild
method to define the required settings.See also
hydromt_fiat.fiat.FiatModel
For more details on the FiatModel used in hydromt_fiat.
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:
- field infographic_images: Annotated[Path, PathType(path_type=dir)] = PosixPath('/home/runner/work/HydroFlows/HydroFlows/hydroflows/cfg/infographics/images')#
The path to the directory where the images for the infographics are saved.
- field infographics_template: Annotated[Path, PathType(path_type=file)] = PosixPath('/home/runner/work/HydroFlows/HydroFlows/hydroflows/cfg/infographics/config_charts.toml')#
The path to the infographics template file.
- field infographics_template_risk: Annotated[Path, PathType(path_type=file)] = PosixPath('/home/runner/work/HydroFlows/HydroFlows/hydroflows/cfg/infographics/config_risk_charts.toml')#
The path to the infographics template file.
- field infometrics_template: Annotated[Path, PathType(path_type=file)] = PosixPath('/home/runner/work/HydroFlows/HydroFlows/hydroflows/cfg/infometrics/metrics_config.toml')#
The path to the infometrics template file.