LevelPredictor
LevelPredictor(self, constituent_repo)
Predict tidal levels timeseries (surface elevation)
Parameters
constituent_repo |
ConstituentRepository |
Repository |
required |
Methods
predict |
Predict tide levels or currents using utide. |
predict
LevelPredictor.predict(lon, lat, start, end, interval=timedelta(hours=1))
Predict tide levels or currents using utide.
Parameters
lon |
float |
The longitude. |
required |
lat |
float |
The latitude. |
required |
start |
datetime |
The start date. |
required |
end |
datetime |
The end date. |
required |
interval |
timedelta |
The interval between predictions. |
timedelta(hours=1) |
Returns
|
pl.DataFrame |
The predicted tide levels or currents. |
Notes
The workhorse of this functions the reconstruct
function from UTide