An Implementation of Dynamic TOPMODEL Hydrological Model in R

An R implementation and enhancement of the Dynamic TOPMODEL semi-distributed hydrological model originally proposed by Beven and Freer (2001) . The 'dynatop' package implements code for simulating models which can be created using the 'dynatopGIS' package.


dynatop - Maintainance branch for v0.2.* of dynatop

R-CMD-check codecov AppVeyor build status dynatop status badge

This R package contains the core code to perform a dynamic TOPMODEL simulation. A related package for processing GIS data to set up dynamic TOPMODEL implementations can be found here.

These two packages are intended as successors to the original Dynamic TOPMODEL implementation in R; the dynatopmodel package. Currently (as a design choice) not all the features of the original package are implemented.

If there is a feature or improvement you want or you experience problems please raise an issue (or better still submit a pull request with alterations or fixes!) rather than contact the maintainers directly in the first instance.

Over time there have been numerous variations on and applications of the R versions of dynamic TOPMODEL, selected references can be found in the Selected References vignette or here

Thanks goes to:

  • Peter Metcalfe who developed the original port of Dynamic TOPMODEL to R during his PhD sponsored by the JBA Trust.
  • The NERC Q-NFM project (NE/R004722/1) at Lancaster University for supporting this update to dynatop.
  • The original developers of Dynamic TOPMODEL, Keith Beven and Jim Freer, who contributed to the original R port of Dynamic TOPMODEL.

Using the code

Alongside the packages available on CRAN the latest development version can be installed from the git repository from within R using the devtools package:

devtools::install_github("waternumbers/dynatop")

Prebuild packages of the development version (which may be ahead of CRAN) are available from the r-universe

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dynatop")

0.2.4 by Paul Smith, 10 months ago


https://waternumbers.github.io/dynatop/, https://github.com/waternumbers/dynatop


Report a bug at https://github.com/waternumbers/dynatop/issues


Browse source code at https://github.com/cran/dynatop


Authors: Paul Smith [aut, cre] , Peter Metcalfe [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports R6, zoo, xts, Rcpp

Suggests raster, knitr, rmarkdown, bookdown, testthat

Linking to Rcpp


See at CRAN