The Simulator for Hydrological Unstructured Domain (SHUD) is a multiprocess, multi-scale hydrologic model where the major hydrological processes are fully coupled using the semi-discrete finite volume method.
This package can be used with the AutoSHUD project, that can build modeling domain automatically.
If you work on Ubuntu platform, you must install software below before installing rSHUD and packages.
sudo apt -y install gdal-bin libgdal-dev gcc g++ gfortran
sudo apt -y install r-cran-systemfonts r-cran-textshaping
We suggest user install the dependant packages before install rSHUD.
libs = c('reshape2','xts','hydroGOF','zoo','RTriangle','proj4','gstat','abind','lubridate','interp','geometry',
'testthat', 'rmarkdown', 'ncdf4', 'blogdown', 'doParallel', 'knitr', 'rmarkdown', 'deldir',
'ncdf4', 'devtools')
nx = length(libs)
for(i in 1:nx){
message(i, '/', nx, '\t', libs[i])
if(require(libs[i], character.only = TRUE)){
}else{
install.packages(libs[i], dependencies = TRUE, INSTALL_opts = '--no-lock')
}
}
if(!require(devtools)){
install.packages("devtools", dependencies = TRUE, INSTALL_opts = '--no-lock')
}
devtools::install_github("shulele/RTriangle", subdir="pkg")
Then you may install the rSHUD directly from github.
if(!require(devtools)){ install.packages("devtools") }
devtools::install_github("SHUD-System/rSHUD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.