SoilandVeg2CN: Soil and Vegetation code to CN, and corrects it based on...

View source: R/SoilandVeg2CN.R

SoilandVeg2CNR Documentation

Soil and Vegetation code to CN, and corrects it based on drainage level, if needed.

Description

Soil and Vegetation code to CN, and corrects it based on drainage level, if needed.

Usage

SoilandVeg2CN(vegetationCODE, soilCODE, lookupTable,
  artificialDrainage = "none")

Arguments

vegetationCODE

vegetation class code (e.g. for the UK vegetation map 2013 this is an integer in the range [1,10]).

soilCODE

soil class code (e.g. for the HOST system this is an integer in the range [1,29]).

lookupTable

this is a data.frame to link Soil, Vegetation and Hydrological conditions.

artificialDrainage

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

Value

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

Examples

## Not run: 
# Load lookup table
dfLookup <- MakeLoopkupTable("Severn&Wye")
cnLocal <- SoilandVeg2CN(vegetationCODE = 6,
                         soilCODE = 15,
                         lookupTable = dfLookup,
                         artificialDrainage = "none")

## End(Not run)


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