Calculates the characteristics of observed tidal water levels. Wrapper of the functions extrema, IT and IF. Also works on time series with gaps.
TidalCharacteristics(
h,
h0 = h$h0,
T2 = 5 * 60 * 60,
hoffset = 0,
filtconst = 1,
dtMax = 15,
unit = "mins",
Tavg = 12.4 * 60,
removegaps = c("All", "Split", "None")
)An object of class Tides, i.e. a list containing:
Data frame with extrema
original water level data frame with additional attributes
a data frame containing start and end times of gaps in the series
inundation frequency of the reference level
inundation times at the reference level
dry times at the reference level
reference level
Total number of cycles in time span
Water level time series. data frame with time and h column
Reference level, either single valued or vector with dimension corresponding to h
'Lower' bound on half the quasi period, but higher than expected stagnant phase; default = 5h
Offset level, to prevent spurious maxima generation due to small fluctuations
Filtering constant for smoothing the time series
Maximum accepted time interval in a continuous series. Bigger time intervals are considered to be gaps
Unit of dtMax, Tavg
Average period of time series
Method to remove gaps in time series from inundation times and dry times. See RemoveGaps
Tom Cox <[email protected]>, Lennert Schepers <[email protected]>
extrema, IT, plot.Tides
TC <- TidalCharacteristics(waterlevels, filtconst=10,hoffset=1)
TC
plot(TC)
summary(TC)
Run the code above in your browser using DataLab