IT: Inundation time

Description Usage Arguments Value Author(s)

View source: R/Tides.R

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

1
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 <[email protected]>


Tides documentation built on May 2, 2019, 4:46 p.m.