NetCDFConstituentRepository
NetCDFConstituentRepository(self, fp)
A repository of tidal constituents stored in a NetCDF file.
Methods
get_current_constituents
NetCDFConstituentRepository.get_current_constituents(lon, lat)
Get the current constituents for a given longitude and latitude.
Parameters
lon |
float |
The longitude. |
required |
lat |
float |
The latitude. |
required |
Returns
|
dict[str, CurrentConstituent] |
The current constituents. |
get_level_constituents
NetCDFConstituentRepository.get_level_constituents(lon, lat)
Get the level constituents for a given longitude and latitude.
Parameters
lon |
float |
The longitude. |
required |
lat |
float |
The latitude. |
required |
Returns
|
dict[str, LevelConstituent] |
The level constituents. |