RegionalisedCN: Calculate Curve Number for soil (HOST) and vegetation (LCM)...

View source: R/RegionalisedCN.R

RegionalisedCNR Documentation

Calculate Curve Number for soil (HOST) and vegetation (LCM) maps

Description

Calculate Curve Number for soil (HOST) and vegetation (LCM) maps

Usage

RegionalisedCN(soil, catchment, lookupTable, vegetation,
  artificialDrainage = "none")

Arguments

soil

filename of a shapefile containing the percentage coverage of HOST classes

catchment

SpatialPolygonsDataFrame containing a single catchment boundary to be used as mask to crop the raster.

lookupTable

this is a data.frame to link soil, vegetation and Hydrological conditions.

vegetation

filename of a raster containing the vegetation map.

artificialDrainage

(default = "none"), possible values are none, low, medium, high.

Details

Please make sure that soil, catchment and vegetation are projected in the same Coordinate Reference System (for info see http://spatialreference.org/).

Value

Regionalised Curve Number for a given catchment, this is an integer in the range [0,100] with 0 = no runoff and 100 = all rainfall becomes runoff.

Examples

## Not run: 
  # Load Plynlimon sub-catchments spatial polygons data frame
  data("PlynlimonSUBCATCHMENTS")
  # Load soil map (HOST percentage distribution of classes)
  data("PlynlimonSOIL")
  # Load land cover (VEGETATION 2013) MAP
  data("PlynlimonVEG")
  # Load lookup table
  dfLookup <- MakeLoopkupTable("Severn&Wye")

  cn <- RegionalisedCN(soil = PlynlimonSOIL,
                       catchment = PlynlimonSUBCATCHMENTS[1,],
                       lookupTable = dfLookup,
                       vegetation = PlynlimonVEG,
                       artificialDrainage = "none")

## End(Not run)


cvitolo/curvenumber documentation built on April 19, 2022, 3:33 a.m.