Hydrology in R

This page contains R code that may be useful for hydrological analysis and modelling. The routines use mainly functions that are available in the standard R packages. At the beginning of each page, non-standard packages will be listed. They can be downloaded from CRAN. Some routines use specific code and routines that are available in the TOPMODEL package.

Importing data

 * Hydrological data import

Importing hydrological time series and basic preprocessing


 * Importing GCM data from the IPCC data repository

An example of importing GIS data

Topographical analysis

 * Calculating the topographical index

Basic hydrological analysis

 * baseflow separation


 * calculating catchment characteristics

Hydrological modelling

 * Topmodel

Uncertainty analysis

 * GLUE analysis


 * Performance measures

Visualisation

 * plotting maps


 * Making nice hydrological graphs

Miscellaneous functions

 * Data formatting and preprocessing