Learn R Programming

rLakeAnalyzer (version 1.11.4.1)

ts.lake.number: Calculate physical indices for a timeseries.

Description

Functions for simplifying the calculation of physical indices for a timeseries of observation data. Can usually be called directly on data loaded directly using load.ts and load.bathy.

These are wrapper functions that accept a timeseries of data and call the core physical metric functions (like schmidt.stability) on each timestep.

Usage

ts.lake.number(wtr, wnd, wnd.height, bathy, seasonal = TRUE)

Arguments

wtr

A data frame of water temperatures (in Celsius). Loaded using load.ts. Must have columns datetime, wtr_##.# where ##.# is depth in meters.

wnd

A data frame of wind speeds (in m/s). Loaded using load.ts

wnd.height

Height of the anemometer above the lake surface in meters

bathy

A data frame containing hypsometric data. Loaded using load.bathy

seasonal

Boolean indicating if seasonal thermocline should be used in calculation.

Value

Returns a data frame with the timeseries of calculated derivatives. All include a ‘datetime’ column, but derivative columns differ between functions.

See Also

For loading input data load.ts, load.bathy.

For the underlying functions operating at each timestep meta.depths, thermo.depth, schmidt.stability, lake.number, internal.energy.

Other Timeseries functions for r Lake Analyzer: ts.internal.energy, ts.meta.depths, ts.schmidt.stability, ts.thermo.depth, ts.uStar