RegionalisedCNdominant: Calculate Curve Number for soil dominant classes (HOST) and...

View source: R/RegionalisedCNdominant.R

RegionalisedCNdominantR Documentation

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

Description

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

Usage

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

Arguments

soil

filename of a raster containing the dominant soil classes (HOST).

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.

Value

Curve Number map, a GeoTiff raster with same resolution of soil and vegetation maps and extent equal to the mask

Examples

## Not run: 
  # Load Plynlimon sub-catchments spatial polygons data frame
  data("PlynlimonSUBCATCHMENTS")
  # Load soil map (HOST dominant classes)
  data("PlynlimonSOILdominant")
  # Load land cover (VEGETATION 2013) MAP
  data("PlynlimonVEG")
  # Load lookup table
  dfLookup <- MakeLoopkupTable("Fair woods + Poor pasture")

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

## End(Not run)


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