Releases: openwatersio/neaps
@neaps/cli@01.0
neaps@0.6.0
Minor Changes
-
#227
b3efa7cThanks @bkeepers! - Add support for subordinate station predictions in the core library.getTimelinePredictionnow supports subordinate stations, producing a continuous timeline by interpolating between offset-adjusted reference station extremes.
Patch Changes
- Updated dependencies [
b3efa7c]:- @neaps/tide-predictor@0.8.0
@neaps/tide-predictor@0.8.0
@neaps/api@0.4.0
Minor Changes
-
#229
42f9e92Thanks @bkeepers! - Add configurable route prefix support tocreateApp().Routes are now defined without a prefix (e.g.
/extremes,/stations) and mounted at a configurableprefixoption (defaults to/tidesfor backward compatibility). Also adds a root/endpoint returning API info, and the OpenAPI spec now includes aserversfield reflecting the configured prefix. -
#227
b3efa7cThanks @bkeepers! - Add support for subordinate station predictions in the API.GET /tides/timelineandGET /tides/waterlevelnow return predictions for subordinate stations instead of a 400 error.
Patch Changes
- Updated dependencies [
b3efa7c]:- neaps@0.6.0
@neaps/api@0.3.3
neaps@0.5.0
@neaps/tide-predictor@0.7.0
@neaps/api@0.3.2
Patch Changes
- Updated dependencies [
9f3fdf6]:- neaps@0.5.0
neaps@0.4.0
Minor Changes
-
#208
355f696Thanks @bkeepers! - Replace constituent definitions with the IHO TWCWG (International Hydrographic Organization Tidal and Water Level Working Group) constituent list.There are lot of implementation details that changed, but the highlights are:
- Switched from ~60 hand-coded constituents to 395 IHO standard constituents (6.6x increase).
- Switched to IHO standard nodal correction formulas described in Annex A, which use simplified Fourier series formulas and are the International standard used by hydrographic offices worldwide.
- Implemented the IHO Annex B rules for resolving compound constituent members. This allows for much more comprehensive tidal predictions that include minor constituents that can have significant local effects.
Benchmark Results
Most importantly, the new implementation delivers significantly improved accuracy when comparing predictions to NOAA, with a 60% reduction in median height error (22.3mm to 8.7mm) and a 60% reduction in timing error (15 min to 6 min) at the 95th percentile.
Metric Before After Improvement Median height error (MAE p50) 22.3 mm 8.7 mm ↓ 60.9% 95th percentile height error (MAE p95) 45.4 mm 23.9 mm ↓ 47.4% RMSE (median) 25.4 mm 10.3 mm ↓ 59.6% Median timing error (p95) 15 min 6 min ↓ 60.0%
Patch Changes
@neaps/tide-predictor@0.6.0
Minor Changes
-
#208
355f696Thanks @bkeepers! - Replace constituent definitions with the IHO TWCWG (International Hydrographic Organization Tidal and Water Level Working Group) constituent list.There are lot of implementation details that changed, but the highlights are:
- Switched from ~60 hand-coded constituents to 395 IHO standard constituents (6.6x increase).
- Switched to IHO standard nodal correction formulas described in Annex A, which use simplified Fourier series formulas and are the International standard used by hydrographic offices worldwide.
- Implemented the IHO Annex B rules for resolving compound constituent members. This allows for much more comprehensive tidal predictions that include minor constituents that can have significant local effects.
Benchmark Results
Most importantly, the new implementation delivers significantly improved accuracy when comparing predictions to NOAA, with a 60% reduction in median height error (22.3mm to 8.7mm) and a 60% reduction in timing error (15 min to 6 min) at the 95th percentile.
Metric Before After Improvement Median height error (MAE p50) 22.3 mm 8.7 mm ↓ 60.9% 95th percentile height error (MAE p95) 45.4 mm 23.9 mm ↓ 47.4% RMSE (median) 25.4 mm 10.3 mm ↓ 59.6% Median timing error (p95) 15 min 6 min ↓ 60.0% -
#212
ebb5dc0Thanks @bkeepers! - Export constituents, deprecate default export-import tidePredictor from "@neaps/tide-predictor"; +import { createTidePredictor } from "@neaps/tide-predictor";