Introduction

Functions in this package calculate normal and recovery stage envelopes for Lake Okeechobee. Complete documentation for this performance measure can be found on the USACE webpage.

Generalized normal (left) and recovery (right) stage envelope scores.

Generalized normal (left) and recovery (right) stage envelope scores.


library(AnalystHelper)
library(lubridate)
library(LORECOVER)

# Data from SFWMD
dat=DBHYDRO_daily(date.fun("2016-01-01"),date.fun("2021-12-31"),15611)
dat$CY=as.numeric(format(dat$Date,"%Y"))

Normal Lake Stage Envelope

#Normal Envelope
norm=subset(dat,CY==2016)
norm.val=norm_env(norm)
The Normal lake stage envelope and approximate corresponding scores that apply for lake stages outside the desired range. Scores are actually applied by the hundredths of a foot on a daily basis and may not correspond exactly to the boxes shown. For reference and as an example, 2016 stages are overlaid onto the envelope and corresponding scores are shown in the lower panel.

The Normal lake stage envelope and approximate corresponding scores that apply for lake stages outside the desired range. Scores are actually applied by the hundredths of a foot on a daily basis and may not correspond exactly to the boxes shown. For reference and as an example, 2016 stages are overlaid onto the envelope and corresponding scores are shown in the lower panel.

Recovery Lake Stage Envelope

#Recovery Envelope
rec=subset(dat,CY==2019)
rec.val=rec_env(rec)
The Recovery lake stage envelope and approximate corresponding scores that apply for lake stages outside the desired range. Scores are actually applied by the hundredths of a foot on a daily basis and may not correspond exactly to the boxes shown. For reference and as an example, 2019 stages are overlaid onto the envelope and corresponding scores are shown in the lower panel.

The Recovery lake stage envelope and approximate corresponding scores that apply for lake stages outside the desired range. Scores are actually applied by the hundredths of a foot on a daily basis and may not correspond exactly to the boxes shown. For reference and as an example, 2019 stages are overlaid onto the envelope and corresponding scores are shown in the lower panel.

Citing package

citation('LORECOVER')
#> 
#> To cite package 'LORECOVER' in publications use:
#> 
#>   Paul Julian (2021). LORECOVER: Lake Okeechobee Stage Envelope
#>   Performance Measure Calculation. R package version 0.1.0.
#>   https://github.com/SwampThingPaul/LORECOVER
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {LORECOVER: Lake Okeechobee Stage Envelope Performance Measure Calculation},
#>     author = {Paul Julian},
#>     year = {2021},
#>     note = {R package version 0.1.0},
#>     url = {https://github.com/SwampThingPaul/LORECOVER},
#>   }

Installation

Development version can be installed from this repo.

install.packages("devtools");# if you do not have it installed on your PC
devtools::install_github("SwampThingPaul/LORECOVER")