C code of a Grass module to calculate openness parameter from a DEM
If you want to compile it:
- Copy the folder r.opennessCode in $GRASS_DIST/raster
- Run cd $GRASS_DIST/raster/r.opennessCode
- Run make
- Run make install
If you want to use the precompiled GRASS 7.2.1 module:
- Copy the file r.openness in $GRASS_DIST/bin
A larger description can be found in:
Francisco Alonso-Sarría, Francisco Gomariz-Castillo, Fulgencio Cánovas-García (in press) "A new approach to the openness index for landform characterisation" Computers & Geosciences.