IT {Tides}R Documentation

Inundation time

Description

Calculate inundation times, i.e. time intervals for which water level h > h0. Care must be taken when there are gaps (long time periods for which there is no data )in the time series. Either the erroneous values have to removed manually, or a wrapper making use of the function gapsts can be used.

Usage

IT(h, h0, h0marg = 0.3, dtMax, unit = "mins")

Arguments

h Water level time series. data frame with time and h column
h0 Reference level, either single valued or vector with same length as h
h0marg Margin on reference level, to cope with small fluctuations in the Water level time series
dtMax Maximum time interval in continuous water level series
unit Unit of dtMax

Value

a list containing:
IT Data frame with start time (t1), end time (t2) and duration (dt, unit = unit) of inundation
DT Data frame with start time (t1), end time (t2) and duration (dt, unit = unit) of dry time

Author(s)

Tom Cox <tom.cox@ua.ac.be>


[Package Tides version 0.2 Index]