Skip to content

Releases: openwatersio/neaps

@neaps/cli@01.0

25 Feb 04:52
ed16d1d

Choose a tag to compare

neaps@0.6.0

24 Feb 19:16

Choose a tag to compare

Minor Changes

  • #227 b3efa7c Thanks @bkeepers! - Add support for subordinate station predictions in the core library.

    getTimelinePrediction now 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

24 Feb 19:16

Choose a tag to compare

Minor Changes

  • #227 b3efa7c Thanks @bkeepers! - Add support for timeline predictions with offsets.

    getTimelinePrediction now accepts an offsets option for subordinate stations, using proportional domain-mapping to interpolate between reference station extremes with time and height adjustments.

@neaps/api@0.4.0

24 Feb 18:16
155b96e

Choose a tag to compare

Minor Changes

  • #229 42f9e92 Thanks @bkeepers! - Add configurable route prefix support to createApp().

    Routes are now defined without a prefix (e.g. /extremes, /stations) and mounted at a configurable prefix option (defaults to /tides for backward compatibility). Also adds a root / endpoint returning API info, and the OpenAPI spec now includes a servers field reflecting the configured prefix.

  • #227 b3efa7c Thanks @bkeepers! - Add support for subordinate station predictions in the API.

    GET /tides/timeline and GET /tides/waterlevel now return predictions for subordinate stations instead of a 400 error.

Patch Changes

  • Updated dependencies [b3efa7c]:
    • neaps@0.6.0

@neaps/api@0.3.3

18 Feb 16:45

Choose a tag to compare

Patch Changes

neaps@0.5.0

15 Feb 23:50
4c4d877

Choose a tag to compare

Minor Changes

  • #213 9f3fdf6 Thanks @bkeepers! - Speed up extremes detection by ~100x, deprecate timeFidelity option on getExtremesPrediction, which will always be <1s now.

Patch Changes

  • Updated dependencies [9f3fdf6]:
    • @neaps/tide-predictor@0.7.0

@neaps/tide-predictor@0.7.0

15 Feb 23:51
4c4d877

Choose a tag to compare

Minor Changes

  • #213 9f3fdf6 Thanks @bkeepers! - Speed up extremes detection by ~100x, deprecate timeFidelity option on getExtremesPrediction, which will always be <1s now.

@neaps/api@0.3.2

15 Feb 23:49
4c4d877

Choose a tag to compare

Patch Changes

  • Updated dependencies [9f3fdf6]:
    • neaps@0.5.0

neaps@0.4.0

14 Feb 14:46

Choose a tag to compare

Minor Changes

  • #208 355f696 Thanks @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:

    1. Switched from ~60 hand-coded constituents to 395 IHO standard constituents (6.6x increase).
    2. 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.
    3. 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

  • Updated dependencies [355f696, ebb5dc0]:
    • @neaps/tide-predictor@0.6.0

@neaps/tide-predictor@0.6.0

14 Feb 14:47

Choose a tag to compare

Minor Changes

  • #208 355f696 Thanks @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:

    1. Switched from ~60 hand-coded constituents to 395 IHO standard constituents (6.6x increase).
    2. 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.
    3. 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 ebb5dc0 Thanks @bkeepers! - Export constituents, deprecate default export

    -import tidePredictor from "@neaps/tide-predictor";
    +import { createTidePredictor } from "@neaps/tide-predictor";