Analysis of tidal data

Troy D. Hill

2021-08-02

Introduction

The VulnToolkit R package provides tools for summarizing and analyzing tidal data. It also includes interfaces to National Oceanic and Atmospheric Administration datasets, both time series data and station-level summary data for NOAA stations. This vignette deals with the former category, describing the functions useful in summary and analysis of tidal datasets.

Data: New London water levels at 6 minute intervals

The NL_6min_2013 sample dataset included with VulnToolkit includes a year of tidal data for the New London NOAA station. The data were collected at 6-minute intervals and were downloaded using the VulnToolkit::noaa() function.

Extracting useful information from tidal time series

Tides

One of the basic functions we might want to perform on a tidal dataset is identification of high and low tides. This is accomplished using the HL() function and the results can be quickly visualized with the HL.plot function. If there are NAs present in the water level or time datasets used as inputs to HL and HL.plot, a console message (set using verbose = TRUE) can report the presence of NAS. The NAs are not removed or otherwise acted upon in the function; it is up to the user to decide on the proper treatment of NAs before or after identifying tides. Small periods of missing data may not be consequential, but could cause a high or low tide to be inaccurately characterized. By visualizing the raw data and the high/low tides identified by HL, the HL.plot function can be a useful tool for evaluating data quality.

The HL and HL.plot functions take the same input arguments. HL.plot provides a simple means for the user to evaluate whether tides are being accurately identified, with high tides shown in red and low tides shown in blue, overlaid on the original water level time series. For long time series like the example above, it may be more informative to look closely at a subset of the data, to convince oneself that the high/low tides are correct.

The default arguments in both of these functions are aimed at capturing semidiurnal tides. For a dataset with diurnal tides, the period argument should be adjusted to reflect the longer tidal period (~26 hours).

Tides can be numbered using the number.tides function, helpful in quantifying material fluxes or in other analyses where tides are a unit of observation. This takes the high/low tides identified in the code above as an input argument.

Flooding frequency and duration

Additional functions allow flooding regimes to be characterized based on the frequency of flooding and its duration. As one use case, this information can serve as the basis for evaluating how some change in sea level might affect flooding regimes.

## [1] 368
## [1] 0.5219858

Flooding depth

The depth of an average flooding event is another parameter describing a flooding regime. The fld.depth function reports the median depth from the observed flooding events along an elevation gradient.

Duration of individual flooding events

The duration of an average flooding event can be an important metric for the flooding stress experienced by organisms occupying a wetland. This measure of the flooding regime also varies as a non-linear function of elevation: