This PR works from the combined-habitat-updates branch
WIP - still troubleshooting the inability to add acreage to Spring and WInter Run Mokelumne, Feather, and American via set_instream_habitat
Documents live in R2R_HRL_habitat_inputsadding_hrl_data.Rmd outlines process for updating HRL curves via the same methodology as baseline and TMH
cache_hrl_data.R is where the caching occurs
hrl_helper_functions is where the functions exist to add project habitat data
Notes/Assumptions:
HRL acreage listed as "Sacramento River" is only added to "Upper Sacramento River"
In channel rearing HRL acreage is added to juveniles and fry
HRL acreage is assumed to already have the suitability criteria applied and considered suitable acres
When the HRL acreage has an unknown run type, the acreage was added to fall, winter, and spring (when applicable)
scaled some of the winter and spring run off of fall run which is aligned with the cache-habitat.R logic. There is a comment for each of these watersheds in the cache-hrl-data script.
Sutter Bypass has increased floodplain acres but the values for floodplain are currently zero resulting in no change when multiplying by the percent increase. A new methodology should be considered.
To get the proportion increase - took the means of sutter 1 through sutter 4 and calculated the 30 day exceedance
from that - unsure if this is the correct method
Addresses PR https://github.com/Reorienting-to-Recovery/DSMhabitat/issues/38
This PR works from the combined-habitat-updates branch
WIP - still troubleshooting the inability to add acreage to Spring and WInter Run Mokelumne, Feather, and American via
set_instream_habitat
Documents live in
R2R_HRL_habitat_inputs
adding_hrl_data.Rmd
outlines process for updating HRL curves via the same methodology as baseline and TMHcache_hrl_data.R
is where the caching occurshrl_helper_functions
is where the functions exist to add project habitat dataNotes/Assumptions:
cache-habitat.R
logic. There is a comment for each of these watersheds in thecache-hrl-data
script.