# NWS Hydrology Models: SAC-SMA, SNOW17, UH, CONSUSE, CHANLOSS

## Documentation for package ‘nwsrfsr’ version 1.0.2

- DESCRIPTION file.
- Package NEWS.

## Help Pages

nwsrfsr-package | nwsrfsr: NWS River Forecast System Hydrologic Models
adc3 | Areal depeletion curve using a 3 parameter model
adjustq | AdjustQ: Create upstream flow timeseries from observations and simulation
adjustq_load_example | Load AdjustQ example
area_elev_curve | Area-elevation curve for the zones of SFLN2
chanloss | Seasonal chanloss
consuse | Daily consuse model
fa_adj_nwrfc | Conduct NWRFC style forcing adjustments
fa_nwrfc | Conduct NWRFC style forcing adjustments
forcing_adjust_map_pet_ptps | Adjust monthly climo based on 4 parameters
forcing_adjust_mat | Adjust monthly climo based on 4 parameters
format_states | Format state output from sac_snow_states
interp_fa | Interpolate forcing adjustment factors
lagk | Lag-K Routing for any number of upstream points
load_example | Load and run a bundled example dataset
nrkw1_daily_flow | NRKW1 observed daily flow
nrkw1_forcing | NRKW1 forcing data
nrkw1_inst_flow | NRKW1 observed instantaneous flow
nrkw1_pars | NRKW1 optimal parameters
nrkw1_upflow | NRKW1 upstream flow data
nwsrfsr | nwsrfsr: NWS River Forecast System Hydrologic Models
nwsrfs_run | Run the full NWSRFS model chain
pet_hs | Daily Potential Evapotranspiration using Hargreaves-Semani equations
print.nwsrfs_run | Print method for nwsrfs_run objects
rsnwelev | Replace ptps column with ptps derived using rain snow line code (lapse rate + MAT)
sac_snow | Execute SAC-SMA, SNOW17, return total channel inflow per zone, and model states
sac_snow_states | Execute SAC-SMA, SNOW17, return total channel inflow per zone, and model states
sac_snow_uh | Execute SAC-SMA, SNOW17 and UH with given parameters
sac_snow_uh_lagk | Execute SAC-SMA, SNOW17, UH and LAG-K with given parameters
scale_uplimit | Find a reasonable scale upper limit for optimization
sfc_pressure | Conputes surface pressure in hPa from a given elevation
sfln2_daily_flow | SFLN2 observed daily flow
sfln2_forcing | SFLN2 forcing data
sfln2_inst_flow | SFLN2 observed instantaneous flow
sfln2_pars | SFLN2 optimal parameters
uh | Two parameter unit hydrograph routing for one or more basin zones
uh2p | R port of the nwsrfs UH fortran code
uh2p_cfs_in | Create a 2 parameter gamma unit hydrograph with units cfs/in
uh2p_get_scale | Get the scale parameter from a 2 parameter gamma unit hydrograph given the shape parameter and time of concentration.
uh2p_get_scale_r | Get the scale parameter from a 2 parameter gamma unit hydrograph given the shape parameter and time of concentration.
uh2p_root | root finding function for finding a scale parameter given shape and toc
uh2p_seek | Objective function for finding a scale parameter given shape and toc
uh2p_seek2 | Objective function for finding a scale parameter given shape and toc
update_pars | Update parameters and re-run model chain