terrain
: Utility Functions for Terrain Derivatives CalculationsThe goal of terrain
is to have a useful toolbox to calculate terrain
derivatives using RSAGA. The package is for my personal use, with
selected RSAGA terrain derivatives, and not meant to be comprehensive.
Several defaults are hard-coded.
For the package to work, there should be a local executable of the SAGA software available.
It is not meant for CRAN, and hence most of the functions will write to disk.
You can install the package from GitHub with:
remotes::install_github("loreabad6/terrain")
A list of the selected RSAGA terrain derivatives follows below, refer to function code documentation for a short description of each derivative.
Derivative Output Name `elev_to_channels()` Vertical Distance To Channel Network vdcnw `elev_to_hydrology()` Melton Ruggedness Index mridx SAGA Wetness Index sagaw Slope length sllgt Stream Power Index spidx `elev_to_lighting()` Hillshade shade Negative Openness negop Positive Openness posop Sky view factor svfct Visible Sky visky `elev_to_morphometry()` Aspect aspect Convergence Index cvidx Crossectional Curvature ccros Curvature (General Curvature) cgene Downslope distance gradient ddgrd Longitudinal Curvature clong Mass Balance Index mbidx Maximum Curvature cmaxi Midslope position mdslp Minimum Curvature cmini Normalized Height nrhgt Plan Curvature cplan Profile Curvature cprof Slope slope Slope Height slhgt Standardized Height sthgt Terrain Ruggedness Index tridx Texture textu Topographic Position Index tpidx Valley Depth vldpt `elev_to_terrain_analysis()` LS Factor lsfct Topographic Wetness Index twidxAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.