# AddOns/GRASS7/raster

See also

svn co https://svn.osgeo.org/grass/grass-addons/grass7/raster/

#### r.agent

r.agent (src) shall provide an inital base for organizing worlds with raster playgrounds and agents in. Still under development.

**Author:**Michael Lustenberger

#### r.area

r.area (src) can be used to remove, areas smaller than treshold, reclass according areas (similar to r.reclass area, but work in cells, not hectares and allow create more classes)

**Author:**Jarek Jasiewicz

#### r.basin

r.basin (src) generates the main morphometric parameters of the basin starting from the digital elevation model and the coordinates of the basin's closing section.

**Author:**Margherita Di Leo, Massimo Di Stefano

#### r.convergence

....

#### r.convert

....

#### r.crater

r.crater (src): estimates the size of a gravity dominated impact crater or the projectile that made it.

**Author:**Yann Chemin

#### r.damflood

r.damflood (src): The definition of flooding areas is of considerable importance for both the risk analysis and the emergency management. This command is an embedded GRASS GIS hydrodynamic 2D model that allows to obtain flooding area due to a failure of a dam, given the geometry of the reservoir and of the downstream area, the initial conditions and the dam breach geometry.

**Authors:**Roberto Marzocchi and Massimiliano Cannata

#### r.hydrodem

r.hydrodem (src) applies hydrological conditioning (sink removal) to a required input elevation map. If the conditioned elevation map is going to be used as input elevation for r.watershed, only small sinks should be removed and the amount of modifications restricted with the mod option. For other modules such as r.terraflow or third-party software, full sink removal is recommended.

**Author:**Markus Metz

#### r.flip

r.flip (src) Flips a raster map

#### r.forestfrag

r.forestfrag (src) is a shell script that creates a forest fragmentation index from a GRASS raster map (where forest=1, non-forest=0) based on a method developed by Riitters et. al (2000). The index is computed using an moving window of user-defined size (default = 3).

**Author:** Maning Sambale, Stefan Sylla and Paulo van Breugel

#### r.fuzzy

....

#### r.gdd

r.gdd (src) calculates (accumulated) growing degree days (GDDs) and Winkler indices from several input maps with temperature data for different times of the day.

**Author:**Markus Metz

#### r.hants

r.hants (src) performs a harmonic analysis of time series in order to estimate missing values and identify outliers. For each input map, an output map with the suffix suffix (default: _hants) is created.

**Author:**Markus Metz

#### r.hazard.flood

r.hazard.flood (src) is an implementation of a fast procedure to detect flood prone areas. The exposure to flooding may be delineated by adopting a topographic index (TIm) computed from a DEM. The portion of a basin exposed to flood inundation is generally characterized by a TIm higher than a given threshold, tau. The threshold is automatically determinated from the cellsize. The proposed procedure may help in the delineation of flood prone areas especially in basins with marked topography. The use of the modified topographic index should not be considered as an alternative to standard hydrological-hydraulic simulations for flood mapping, but it may represent a useful and rapid tool for a preliminary delineation of flooding areas in ungauged basins and in areas where expensive and time consuming hydrological-hydraulic simulations are not affordable or economically convenient.

**Author:**Margherita Di Leo

#### r.houghtransform

....

#### r.hydrodem

r.hydrodem (src) applies hydrological conditioning (sink removal) to a required input elevation map. If the conditioned elevation map is going to be used as input elevation for r.watershed, only small sinks should be removed and the amount of modifications restricted with the mod option. For other modules such as r.terraflow or third-party software, full sink removal is recommended.

**Author:**Markus Metz

#### r.in.srtm.region

r.in.srtm.region (src) for download and import of SRTM for the current region. If needed, tiles are patched together and optionally holes interpolated.

**Author:**Markus Metz

#### r.in.wms2

....

#### r.massmov

....

#### r.mess

r.mess (src), a shell script to compute the "Multivariate Environmental Similarity Surfaces" (MESS). It uses R and spgrass6 package. Runs on grass 6.4 and 7.0 (tested on Linux only).

**Author:**Paulo van Breugel

#### r.modis

**r.modis (src)**: The **r.modis** suite is a toolset to import MODIS satellite data in GRASS GIS. It uses the pyModis library and the MODIS Reprojection Tool software to convert, mosaik and process MODIS data. It is written in Python language for GRASS 7, developed during the Google Summer of Code 2011.

See also R.modis:

**Author:**Luca Delucchi (GSoC mentor: Markus Neteler)

#### r.regression.series

**r.regression.series (src)** is a module to calculate linear regression parameters between two time series, e.g. NDVI and precipitation.

**Author:**Markus Metz

#### r.stream.basins

r.stream.basins (src): Calculate basins according user input.

#### r.stream.channel

r.stream.channel (src): Calculate some local properties of the stream network. It is supplementary module for r.stream.order and r.stream.distance to investigate channel subsystem.

#### r.stream.distance

r.stream.distance (src): Calculate distance to and elevation above streams and outlets according user input. It can work in stream mode where target are streams and outlets mode where targets are outlets.

#### r.stream.extract

r.stream.extract (src): Stream network extraction.

#### r.stream.order

r.stream.order (src): Calculate Strahler's and Horton's stream order Hack's main streams and Shreeve's stream magnitude. It uses r.watershed or r.stream.extract output files: stream, direction and optionally accumulation. Output data can be either from r.watershed or r.stream.extract but not from both together.

#### r.stream.segment

r.stream.segment (src): The module is designed to inverstigate network lineaments and calculate angle relations between tributaries and its major streams.

#### r.stream.slope

r.stream.slope (src): Calculates the difference between elevation of current cell and downstream cell, gradient and max curvature on the basis of a flow direction map. It can be used to calculate the directional slope using a flow direction map.

#### r.stream.snap

r.stream.snap (src): is a supplementary module for r.stream.extract and r.stream.basins to correct position of outlets or stream initial points as they do not lie on the streamlines.

#### r.stream.stats

r.stream.stats (src): Calculate Horton's and optionally Hack's statistics according to user input.

#### r.threshold

r.threshold (src) finds optimal threshold for stream extraction. ....

#### r.to.vect.tiled

r.to.vect.tiled (src) vectorizes the input raster map and produces several tiled vector maps covering the current region. Vectorizing a large raster map with r.to.vect can require a lot of memory. In these cases,*r.to.vect.tiled* can reduce memory usage by vectorizing each tile separately.

#### r.vol.dem

r.vol.dem (src) interpolates a voxel model from a series of DEMs by flood filling the voxel space in between.