rompy.schism.data.SCHISMDataOcean#

pydantic model rompy.schism.data.SCHISMDataOcean[source]#

This class is used define all ocean boundary forcing

Fields:
Validators:
field SAL_3D: DataBlob | SCHISMDataBoundary | None = None#

SAL_3D

Validated by:
field TEM_3D: DataBlob | SCHISMDataBoundary | None = None#

TEM_3D

Validated by:
field data_type: Literal['ocean'] = 'ocean'#

Model type discriminator

Validated by:
field elev2D: DataBlob | SCHISMDataBoundary | None = None#

elev2D

Validated by:
field uv3D: DataBlob | SCHISMDataBoundary | None = None#

uv3D

Validated by:
get(destdir: str | Path, grid: SCHISMGrid, time: TimeRange | None = None) str[source]#

Write all inputs to netcdf files. :param destdir: Destination directory for the netcdf file. :type destdir: str | Path :param grid: Grid instance to use for selecting the boundary points. :type grid: SCHISMGrid, :param time: The times to filter the data to, only used if self.crop_data is True. :type time: TimeRange, optional

Returns:

outfile – Path to the netcdf file.

Return type:

Path

validator not_yet_implemented  »  all fields[source]#
validator set_id  »  all fields[source]#