Learn R Programming

LakeMetabolizer (version 1.5.5)

Tools for the Analysis of Ecosystem Metabolism

Description

A collection of tools for the calculation of freewater metabolism from in situ time series of dissolved oxygen, water temperature, and, optionally, additional environmental variables. LakeMetabolizer implements 5 different metabolism models with diverse statistical underpinnings: bookkeeping, ordinary least squares, maximum likelihood, Kalman filter, and Bayesian. Each of these 5 metabolism models can be combined with 1 of 7 models for computing the coefficient of gas exchange across the air–water interface (k). LakeMetabolizer also features a variety of supporting functions that compute conversions and implement calculations commonly applied to raw data prior to estimating metabolism (e.g., oxygen saturation and optical conversion models).

Copy Link

Version

Install

install.packages('LakeMetabolizer')

Monthly Downloads

310

Version

1.5.5

License

GPL (>= 2)

Maintainer

Last Published

November 15th, 2022

Functions in LakeMetabolizer (1.5.5)

k600.2.kGAS

Returns the gas exchange velocity for gas of interest w/ no unit conversions
load.meta

Loads a metadata file from the specified path
metab.ols

Metabolism model based on a ordinary least squares parameter estimation framework.
metab.kalman

Metabolism calculated from parameters estimated using a Kalman filter
metab.bookkeep

Metabolism model based on simple day/night summation NEP-interpreted changes in DO.
o2.at.sat

Calculates the equilibrium saturation concentration of oxygen in water at the supplied conditions
temp.kalman

Smooth temperature time series using a Kalman filter/ smoother
metab.mle

Metabolism calculated from the maximum likelihood estimates of the parameters in a standard linear regression model
metab.bayesian

Metabolism model based on a bayesian parameter estimation framework
wind.scale

Wind Scaling U10 - exponential conversion to 10m wind speed
rmv.vars

subsets data.frame according to header names
metab

Calculate metabolism
par.to.sw

Convert PAR to shortwave
watts.in

Simple estimate of energy gained by a layer of water
load.all.data

Attemps to load and merge all timeseries data for a given site name
var.indx

finds matching column names in data.frame
sun.rise.set

Calculates the time of sunrise and sunset
sw.to.par

Convert shortwave radiation to PAR
is.night

determines if measurement was taken during the night
is.day

determines if measurement was taken during the daytime
has.vars

tests data.frame for column names
k.read

Returns a timeseries of gas exchange velocity
calc.lw.net

Estimate net long wave heat radiation
getSchmidt

Returns Schmidt number for a specific gas at a given temperature
calc.zeng

Estimate sensible and latent heat fluxes
get.vars

subsets data.frame according to header names
get.Ts

gets surface water temperatures
k.read.base

Returns a timeseries of gas exchange velocity