Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This transformation is opposite of tranformation selectNumberedTidalLows

The input of the transformation is two scalar time series. The first one is non-equidistant and contains the times of the astronomical high or low tide. The values are not the levels, but the tide number. The second input is a regular, continuous time series that contains water levels. This can be a forecast, an observed or hindcast series.
The transformation will use the time steps stamps of the astronomical tide number input, and it will search for peaks high tide values in the continuous time series around each of those times.
For every timeStep of the continious series the slope of the data curve is determinedThe search window can be skewed around this astronomical extreme as the period before and after the extreme can be specified individually using minutesBeforeTidalExtreme and minutesAfterTidalExtreme.
Within this search window, the slope of the continuous timeseries is determined over the regression period (regressionPeriodInMinutes). This slope is determined looking forward for every timestep in the continuous series. A minimum or maximum is found if the slope is horizontal (thus the value of the angle is 0). If the slope value changes from positive to negative, it is a maximum, if it changes from negative to positive, it is a minimum.
There are two output time series: both are non-equidistant, the time steps are the times of the actual high tide. The values in one are the tide numbers, in the other the water level.

A peak value is valid if:1. There is a value

  • There are two timestamps within the search window both before and after the

...

  • extreme where the difference between the peak and the value is greater than the validDifferenceExceedence. The value before the peak is called

...

  • firstThresholdCrossing in this method, the value after the peak is called the

...

  • secondThresholdCrossing.

...

  • Missing values are not allowed between the peak and the two threshold values.

...

A peak value is invalid if:

  • a missing value

...

  • is found after the

...

  • extreme and before the second threshold crossing.

The transformation produces two non-equidistant output series with timestamps of the high tide extremes: one serie holds the water level, the peak is automatically invalidthe other series holds the associated tide number.

Config example:

Code Block
languagexml
linenumberstrue
<transformation id="SelectionTideNumbersAndPeaks">
   <selection>
      <selectNumberedTidalPeaks>
         <numberedTidalPeaks>
            <variableId>numberedTidalPeaks</variableId>
         </numberedTidalPeaks>
         <continuousLevelSeries>
            <variableId>continuousLevelSeries</variableId>
         </continuousLevelSeries>
         <minutesBeforeTidalExtreme>50</minutesBeforeTidalExtreme>
         <minutesAfterTidalExtreme>50</minutesAfterTidalExtreme>
         <regressionPeriodInMinutes>20</regressionPeriodInMinutes>
         <validDifferenceExceedence>0.02</validDifferenceExceedence>
         <highWaterLevelOutput>
            <variableId>outputTideValue</variableId>
         </highWaterLevelOutput>
         <highWaterTideNumberOutput>
            <variableId>outputTideNumber</variableId>
         </highWaterTideNumberOutput>
      </selectNumberedTidalPeaks>
   </selection>
</transformation>

...