View source: R/SoilandVeg2CN.R
SoilandVeg2CN | R Documentation |
Soil and Vegetation code to CN, and corrects it based on drainage level, if needed.
SoilandVeg2CN(vegetationCODE, soilCODE, lookupTable, artificialDrainage = "none")
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. |
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.
## Not run: # Load lookup table dfLookup <- MakeLoopkupTable("Severn&Wye") cnLocal <- SoilandVeg2CN(vegetationCODE = 6, soilCODE = 15, lookupTable = dfLookup, artificialDrainage = "none") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.