View source: R/RegionalisedCNdominant.R
| RegionalisedCNdominant | R Documentation |
Calculate Curve Number for soil dominant classes (HOST) and vegetation (LCM) maps
RegionalisedCNdominant(soil, catchment, lookupTable, vegetation, artificialDrainage = "none")
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. |
Curve Number map, a GeoTiff raster with same resolution of soil and vegetation maps and extent equal to the mask
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.