This is a simple package for converting Hydrologic Response Units (HRUs) values that are produced by the Monthly Water Balance Model (MWBM) or the Precipitation Runoff Modeling System (PRMS) into 1,900 NWIS streamgages. Gages were identified as reference gages by the GAGES-II dataset (Falcone, 2011).
Conversion values have been pre-calculated and are included in this package in /data.
devtools::install_github( repo = "ssaxe-usgs/hru2nwis" )
hru <- matrix( data = rnorm( n = 109951 * 10 ),
nrow = 10,
ncol = 109951 )
colnames( hru ) <- as.character( 1:109951 )
# or create with real data
hru <- hru2nwis::combine_hru_files( allFiles =
list.files( path = "C:/Path/To/Containing/Folder",
full.names = T ) )
nwis <- hru2nwis::convert_to_nwis( hru.data = hru )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.