rompy.swan.interface.DataInterface#

pydantic model rompy.swan.interface.DataInterface[source]#

SWAN forcing data interface.

Examples

In [1]: from rompy.swan.interface import DataInterface
Fields:
Validators:
field bottom: SwanDataGrid | None = None#

Bathymetry data

field input: list[SwanDataGrid] = []#

Input grid data

Validated by:
field model_type: Literal['data_interface', 'DATA_INTERFACE'] = 'data_interface'#

Model type discriminator

validator ensure_unique_var  »  input[source]#

Ensure that each input var is unique.

get(staging_dir: Path, grid: SwanGrid, period: TimeRange)[source]#
render(*args, **kwargs)[source]#

Make this class consistent with the components API.