neaps / tide-predictor

Javascript tide predictor
https://neaps.js.org
MIT License
22 stars 7 forks source link

Enhancement: accept an optional timeFidelity in getTimelinePrediction #158

Open noGAFAM opened 2 weeks ago

noGAFAM commented 2 weeks ago

As in getExtremesPrediction, IMHO, it would be beneficial to have a {timeFidelity} option in getTimelinePrediction : not only the default 10min step is common, hourly prediction is quite common too.

https://github.com/neaps/tide-predictor/blob/main/src/index.js#L19