LakeMetabolizer1.5.6 package

Tools for the Analysis of Ecosystem Metabolism

calc.lw.net

Estimate net long wave heat radiation

calc.zeng

Estimate sensible and latent heat fluxes

get.Ts

gets surface water temperatures

get.vars

subsets data.frame according to header names

getSchmidt

Returns Schmidt number for a specific gas at a given temperature

has.vars

tests data.frame for column names

is.day

determines if measurement was taken during the daytime

is.night

determines if measurement was taken during the night

k.read.base

Returns a timeseries of gas exchange velocity

k.read

Returns a timeseries of gas exchange velocity

k600.2.kGAS

Returns the gas exchange velocity for gas of interest w/ no unit conve...

load.all.data

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

load.meta

Loads a metadata file from the specified path

metab.bayesian

Metabolism model based on a bayesian parameter estimation framework

metab.bookkeep

Metabolism model based on simple day/night summation NEP-interpreted c...

metab.kalman

Metabolism calculated from parameters estimated using a Kalman filter

metab.mle

Metabolism calculated from the maximum likelihood estimates of the par...

metab.ols

Metabolism model based on a ordinary least squares parameter estimatio...

metab

Calculate metabolism

o2.at.sat

Calculates the equilibrium saturation concentration of oxygen in water...

par.to.sw

Convert PAR to shortwave

rmv.vars

subsets data.frame according to header names

sun.rise.set

Calculates the time of sunrise and sunset

sw.to.par

Convert shortwave radiation to PAR

temp.kalman

Smooth temperature time series using a Kalman filter/ smoother

var.indx

finds matching column names in data.frame

watts.in

Simple estimate of energy gained by a layer of water

wind.scale

Wind Scaling U10 - exponential conversion to 10m wind speed

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).

  • Maintainer: Jacob Zwart
  • License: GPL (>= 2)
  • Last published: 2025-10-30