ailich / MultiscaleDTM

Calculates multi-scale geomorphometric terrain attributes from regularly gridded DEM/bathymetry rasters.
https://ailich.github.io/MultiscaleDTM/
GNU General Public License v3.0
21 stars 4 forks source link

Add na.rm to SAPA and SurfaceArea #78

Closed ailich closed 10 months ago

ailich commented 10 months ago

SurfaceArea - if na.rm=TRUE rather than sum triangles, calculate the mean and multiply by 8.

SAPA - if na.rm=TRUE rather than sum values in focal window, calculate the mean and multiply by the number of cells in the window.

ailich commented 10 months ago

Added in 6d340f3