[GRASS-dev] r.in.gdal: add scale and shift parameters?

Markus Neteler neteler at osgeo.org
Thu May 19 14:57:04 PDT 2016


Hi,

sometimes it is convenient to scale/shift input maps on the fly during
the import in order to avoid an extra step with r.mapcalc (think: tons
of scaled Landsat data etc).

https://grass.osgeo.org/grass70/manuals/r.series.accumulate.html
comes with

scale=float
   Scale factor for input
   Default: 1.0

shift=float
   Shift factor for input
   Default: 0.0

which might make sense also here. Maybe the type propagation
(CELL/FCELL/DCELL is an issue though.

Ideas?

thanks,
Markus


More information about the grass-dev mailing list