mfeMetab | R Documentation |
mfeMetab Functionality for generating lake metabolism estimates from MFE database. Putting Solomon metabolism code into a function and adding some options for different K models. Also allows for pulling input data directly from MFE sensor database. WARNING! This function makes some modifications to your R workspace, which isn't best practice for R package functions. I don't have time to fix it now. It sets the system time zone, and it also saves your workspace to an .Rdata file. Use caution. -KG SEJ with code from CTS, JAZ, CRO, and CJT
mfeMetab(
lakeID,
minDate,
maxDate,
outName,
dirDump,
maxZMix = 8,
k = "cole&caraco",
fluxDummyToggle = TRUE,
bootstrap = "no",
lat = 46.16,
elev = 535,
windHeight = 2,
timeStep = 10,
sensorDepth = 0.7
)
lakeID |
Lake to estimate metabolism for |
minDate |
First date to estimate metabolism for |
maxDate |
Last date to estimate metabolism for |
outName |
Text to use in lableing outputs, e.g. 'Acton2008'. Character. No default. |
dirDump |
Directory where outputs should be dumped, e.g. 'C:/GLEON/Acton/Results'. No default value. |
maxZMix |
Back up zmix if temp profile data is unavailable; defaults to 4, but should pick a value that makes sense. |
k |
Model for piston velocity - options are: "cole&caraco", a constant k600 specified by the desired value, or "read" (coming soon) |
fluxDummyToggle |
Use convention where atmospheric exchange is shut off during microstratification conditions. |
lat |
Latitude of lake, decimal degrees, north positive; defaults to UNDERC (46.15) |
elev |
Elevation of lake surface, m above sea level; defaults to UNDERC (518) |
windHeight |
Height above lake surface at which wind speed is measured, m; defaults to UNDERC (2) |
timeStep |
Time interval between DO measurements, minutes; defaults to 10 minutes |
sensorDepth |
Depth of DO sensor, m; defaults to UNDERC (0.7?) |
bootstrapping |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.