Description Usage Arguments Details Value Examples
Function to read the nhru summary files output by PRMS
1 | read_nhruOut(nhruOutBaseFileName = "", nhruOutVar_names, nhru)
|
nhruOutBaseFileName |
Character, base file name for nhru summary files specified in the PRMS control file. Note this should also contain the pathname to Output folder containing nhru summary .csv files. |
nhruOutVar_names |
Character vector of variable names to read, based on variables specified in the PRMS control file. |
nhru |
Integer, number of HRUs in PRMS model |
A function for reading in nhru summary output files. Note that in the PRMS control file, nhruOutON_OFF must be set to 1 for .csv files to be output.
A list of dataframes containing the nhru summary output. List elements are each variable specified in nhruOutVar_names
1 2 3 4 | exampleData2 <- read_nhruOut(nhruOutBaseFileName = "data/rghw_Daymet_nhru_summary_",
nhruOutVar_names = c("hru_rain", "hru_snow"),
nhru = 28)
rain <- exampleData2$hru_rain
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.