Description Usage Arguments Details Value
View source: R/process_lake_temp.R
Processes CSLS lake temperature data for water/solute balance calculations. Filters HOBO temperature data from CSLSdata::water_chem for surface and bottom temperatures, and summarizes at a daily or monthly time step for the desired time period.
1 | process_lake_temp(start_date, end_date, dt = "day")
|
start_date |
start date of analysis period (POSIX). |
end_date |
end date of analysis period (POSIX). |
dt |
time step at which to summarize data. Defaults to "day" for daily time step, can also be "month" for monthly time step. |
If using with non-CSLS data, will need an alternate way to get weather data (including lake evaporation) into the format outputted by this function.
df, a data frame with the following columns:
lake |
name of lake, i.e., "Pleasant", "Long", and "Plainfield" |
date |
date of observation (POSIX). If monthly time step, monthly summary is assigned to first day of the month |
ltmp_bot_C |
lake temperature at bottom of lake, deg C. Used for some solute reaction rates. |
ltmp_surf_C |
lake temperature at surface of lake, deg C. Used for stable isotope in evaporation calculations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.