CSLS_format_lake: Given CSLS data, format "lake" input parameter

Description Usage Arguments Value

View source: R/CSLS_format_lake.R

Description

Extracts location information for the lake from the site dictionary and reformats for input into lake evaporation functions.

Usage

1
CSLS_format_lake(elev_area_vol, lake_levels, lst = NULL, wtmp0, use_lst)

Arguments

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.

Value

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)


WDNR-Water-Use/CSLSevap documentation built on April 9, 2021, 1:35 a.m.