habitat_drc_weighted.Rd
Create Duration Suitability Rating Curve for a streamgage (scaled to prediction point by drainage area and precipitation)
habitat_drc_weighted(
streamgage,
reach,
scale = "durhsi",
habitat_type = "rearing",
run = "fall",
wy_group = "Dry",
gradient = "Valley Foothill"
)
Three-letter CDEC identifier for the streamgage
Integer comid
identifier for reach identifying the prediction point (used for scaling)
Either "durhsi" to keep original flow scale and adjust duration HSI values (default), or "flow" to keep original duration HSI scale and adjust flow values.
Either "rearing" (default) or "spawning"
One of "fall" (default), "late fall", "winter", "spring", or "steelhead"
Either "Dry" or "Wet" for water year type scenario
For rearing, either "Valley Foothill" (default) or "Valley Lowland"
A tibble
with columns for flow (flow_cfs
) and duration habitat suitability index (durhsi
)
habitat_drc_weighted("FSB", habitat_type="rearing", gradient = "Valley Foothill", reach = 7978069)
#> # A tibble: 150 x 2
#> flow_cfs durhsi
#> <dbl> <dbl>
#> 1 100 0.66
#> 2 200 0.66
#> 3 300 0.66
#> 4 400 0.66
#> 5 500 0.66
#> 6 600 0.66
#> 7 700 0.66
#> 8 800 0.66
#> 9 900 0.66
#> 10 1000 0.66
#> # i 140 more rows