Site
Site()
The expected variables and data types of attributes of the Site class.
Attributes
name :
str
-
Name of the site.
description : str, default=""
-
Description of the site.
lat :
float
-
Latitude of the site.
lon :
float
-
Longitude of the site.
standard_objects : StandardObjectModel, default=StandardObjectModel()
-
Standard objects of the site.
gui :
GuiModel
-
GUI model of the site.
sfincs :
SfincsModel
-
SFincs model of the site.
fiat :
FiatModel
-
Fiat model of the site.
Methods
Name | Description |
---|---|
load_file | Create Site from toml file. |
save | Write toml file from model object. |
load_file
str, os.PathLike]) Site.load_file(filepath: Union[
Create Site from toml file.
save
Site.save(str, os.PathLike],
filepath: Union[str = 'sfincs.toml',
sfincs: str = 'fiat.toml',
fiat: str = 'gui.toml',
gui: )
Write toml file from model object.