Description Usage Arguments Details Value Examples
elevation_to_storage()
computes the storage (volume) for a given elevation
for a particular reservoir included in CRSS.
1 2 3 | elevation_to_storage(elevation, reservoir)
elevation2Volume(elevation, reservoir)
|
elevation |
The elevation (in feet) that will be converted to volume |
reservoir |
The reservoir to compute the conversion for. Spaces are removed from the name, and case is ignored. |
Elevation is assumed to be provided in feet, and the volume will be returned in acre-feet. Currently, the function will work for Flaming Gorge, Navajo, Blue Mesa, Powell, and Mead reservoirs. The elevation-volume tables contain data for 0.5 foot increments. Volume is linearly interpolated for sub 0.5 foot values of elevation.
If the elevation is beyond the range of the resevoir, the function returns
NA
.
Volume in acre-feet, or NA
if the elevation is invalid for the
reservoir.
1 2 3 | elevation_to_storage(1075, "mead")
elevation_to_storage(6000, "Flaming Gorge")
elevation_to_storage(c(6000, 6001, 6004.6), "flamingGorge")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.