-
Notifications
You must be signed in to change notification settings - Fork 3
fTerrA
FLFgit edited this page Oct 14, 2021
·
3 revisions
Function to derive terrain attributes using SAGA GIS
https://github.com/FLFgit/ScaleP/blob/master/functions/fTerrA.R
- DEM.DIR -> directory containing digital elevation model (DEM)
- DEM -> name digital elevation model (DEM)
- DEM.FRM -> format of DEM file
- OUT.DIR -> directory containing result
- TA.PF -> prefix of resulting terrain attributes
- TCI=TRUE -> option: TCI calculation is TRUE
- P.CA1 -> minimal parameter (threshold of catchment area)
- P.CA2 -> maximum parameter (threshold of catchment area)
- P.CA3 -> number of calucation variants (threshold of catchment area)
- MBI=TRUE -> option: MBI calculation is TRUE
- P.MBI1 -> minimal parameter (transfer constant Tcurvature)
- P.MBI2 -> maximum parameter (transfer constant Tcurvature)
- P.MBI3 -> number of calucation variants (transfer constant Tcurvature)
- NH=TRUE -> option: NH calculation is TRUE
- P.NH1 -> minimal parameter (smoothing parameter T)
- P.NH2 -> maximal parameter (smoothing parameter T)
- P.NH3 -> number of calucation variants (smoothing parameter T)
- TPI=TRUE -> option: NH calculation is TRUE
- P.TPI1 -> minimum parameter (scale parameter)
- P.TPI2 -> maximum parameter (scale parameter)
- P.TPI3 -> number of calucation variants (scale parameter)
- names_TA.txt -> conversion table of terrain attribute names and resulting raster files
- TA[1…n].sgrd -> names of resulting raster files using prefix TA.PF and file number