Class TidalPrediction

java.lang.Object
org.episteme.natural.earth.oceanography.TidalPrediction

public class TidalPrediction extends Object
Tidal prediction using harmonic analysis.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

    • M2_SPEED

      public static final Real M2_SPEED
    • S2_SPEED

      public static final Real S2_SPEED
    • N2_SPEED

      public static final Real N2_SPEED
    • K1_SPEED

      public static final Real K1_SPEED
    • O1_SPEED

      public static final Real O1_SPEED
    • M4_SPEED

      public static final Real M4_SPEED
  • Method Details

    • predictHeight

      public static Real predictHeight(Real meanSeaLevel, TidalPrediction.TidalConstituent[] constituents, Real hoursFromEpoch)
      Predict height: h(t) = h₀ + Σ Aᵢ cos(ωᵢt - φᵢ)
    • maxTidalRange

      public static Real maxTidalRange(TidalPrediction.TidalConstituent[] constituents)
      Max tidal range: 2 * sum of amplitudes
    • simpleSemidiurnalModel

      public static TidalPrediction.TidalConstituent[] simpleSemidiurnalModel(Real m2Amp, Real m2Phase, Real s2Amp, Real s2Phase)
      Simple M2+S2 model
    • hoursToNextHighTide

      public static Real hoursToNextHighTide(Real currentHoursFromEpoch)
      Hours to next high tide