Description Usage Arguments Value
View source: R/CSLS_format_lake.R
Extracts location information for the lake from the site dictionary and reformats for input into lake evaporation functions.
1 | CSLS_format_lake(elev_area_vol, lake_levels, lst = NULL, wtmp0, use_lst)
|
elev_area_vol |
a data frame with the lake, stage_m, surf_area_m2, and volume_m3 as in the elev_area_voldataset, subset for a single lake. |
lake_levels |
a data frame with daily water level measurements as formatted in the lake_levels dataset, subset to lake level records for the lake of interest. |
lst |
a data frame with sub-monthly lake surface temperature measurements as formatted in the lst_HOBO dataset, subset for a single lake. |
wtmp0 |
initial water temperature for first day in timeseries (degC) |
use_lst |
logical defaults to TRUE to use available lake surface temperature data. |
lake, a list with the following lake-specific parameters:
A |
surface area of the lake (km^2) |
depth_m |
depth of the lake (m). Can be a static value or vector corresponding with datetimes vector. |
lst |
optional data frame with date (datetime) and ltmp (lake temperature, degC). |
wtmp0 |
required initial water temperature for first day in datetimes (degC) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.