Hi Tanya,

Try this in the command line:

r.mapcalc "newmap = 741.0 * 0.01"

or in the GUI use the map calculator and put in your desired equation as
above.

The output of this command will be a new map with a value of 7.41.  You can
read about the mapcalc command here:
http://grass.fbk.eu/gdp/html_grass64/r.mapcalc.html

Hope that helps!
Nick


On Sat, May 5, 2012 at 10:08 AM, Tanya Dyck <[email protected]> wrote:

>  I have a very basic question that I hope can be answered.  I want to
> multiply the sum of my raster count (741) by a value (0.01) and have an
> output raster with that value.  I've used r.sum to determine the sum of the
> data value but am unsure how I can take that value to multiply by a user
> defined value.  Any help would be much appreciated.
>
> Best,
>
> Tanya
>
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to