calcMass: Calculate weekly or annual mass in the lake

View source: R/massCalc.R

calcMassR Documentation

Calculate weekly or annual mass in the lake

Description

Input weekly 1-m depth profiles to calculate depth integrated mass at weekly or annual timescales using lake bathymetry

Usage

calcMass(df.interpolated, lakeAbr, time.res = "weekly", conversion = 1)

Arguments

df.interpolated

dataframe of weekly interpolated data. Output of weeklyInterpolate()

lakeAbr

Lake identification, string

time.res

Time resolution. Options are 'weekly' (gives a daily mass at a weekly timestep) or 'annual' (gives an annual mass averaged from the weekly data)

conversion

Load unit conversion. Ex. if unit of var is µg/L and the mass will be output in µg. A conversion factor of 1e6 will provide kg.


hdugan/NTLlakeloads documentation built on June 16, 2024, 6:59 p.m.