IForcing
objects.IForcing()
BaseModel describing the expected variables and data types for forcing parameters of hazard model.
Methods
Name | Description |
---|---|
model_dump | Override the default model_dump to include class variables type and source . |
save_additional | Save additional data of the forcing. |
serialize_path | Serialize filepath-like fields by saving only the filename. It is assumed that the file will be saved in the same directory. |
model_dump
**kwargs: Any) objects.IForcing.model_dump(
Override the default model_dump to include class variables type
and source
.
save_additional
| str | os.PathLike) objects.IForcing.save_additional(output_dir: Path
Save additional data of the forcing.
serialize_path
objects.IForcing.serialize_path(value: Path)
Serialize filepath-like fields by saving only the filename. It is assumed that the file will be saved in the same directory.