4.2.4.2. Tidal forcing and bathymetry¶
- class opentidalfarm.tidal.BathymetryDepthExpression(filename, utm_zone, utm_band, maxval=10, domain=None)[source]¶
Bases: Expression
Create a bathymetry depth Expression from a lat/lon NetCDF file, where the depth values stored as “z” field.
- class opentidalfarm.tidal.TidalForcing(grid_file_name, data_file_name, ranges, utm_zone, utm_band, initial_time, constituents)[source]¶
Bases: Expression
Create a TidalForcing Expression from OTPSnc NetCDF files, where the grid is stored in a separate file (with “lon_z”, “lat_z” and “mz” fields). The actual data is read from a seperate file with hRe and hIm fields.