[GRASS-user] Image ratio

HI,
How to do image rationing between two bands 5/2 of landsat in grass. I used this command ( r.mapcalc “ratio5_2=1.0*p126r046_7t20010929_z48_nn50/p126r046_7t20010929_z48_nn20”
d.erase
d.rast ratio5_2)

but it doesn’t work

The successful revolutionary is a statesman, the unsuccessful one a criminal.

On Sat, Sep 28, 2013 at 8:56 AM, Vinay Elothunkal <vinay223333@gmail.com> wrote:

HI,
How to do image rationing between two bands 5/2 of landsat in grass. I used
this command ( r.mapcalc
"ratio5_2=1.0*p126r046_7t20010929_z48_nn50/p126r046_7t20010929_z48_nn20"
d.erase
d.rast ratio5_2)
but it doesn't work

Could you elaborare on "it doesn't work"?

Markus

HI,

I am beginner of grass GIS. I would like to do the image rationing. I followed the above command but shows some syntax error. how can I go with image rationing in grass for landsat image.

thanks

···

On Sat, Sep 28, 2013 at 6:19 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sat, Sep 28, 2013 at 8:56 AM, Vinay Elothunkal <vinay223333@gmail.com> wrote:

HI,
How to do image rationing between two bands 5/2 of landsat in grass. I used
this command ( r.mapcalc
“ratio5_2=1.0*p126r046_7t20010929_z48_nn50/p126r046_7t20010929_z48_nn20”
d.erase
d.rast ratio5_2)
but it doesn’t work

Could you elaborare on “it doesn’t work”?

Markus

The successful revolutionary is a statesman, the unsuccessful one a criminal.

···

As Markus mentioned, please fill in more details:

  • What version of GRASS, on what operating system?
  • What have you tried?
  • What error message or result are you getting?
  • What are you trying to achieve?

On 09/28/2013 06:42 PM, Vinay Elothunkal wrote:

HI,

I am beginner of grass GIS. I would like to do the image rationing. I followed the above command but shows some syntax error. how can I go with image rationing in grass for landsat image.

thanks

On Sat, Sep 28, 2013 at 6:19 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sat, Sep 28, 2013 at 8:56 AM, Vinay Elothunkal <vinay223333@gmail.com> wrote:

HI,
How to do image rationing between two bands 5/2 of landsat in grass. I used
this command ( r.mapcalc
“ratio5_2=1.0*p126r046_7t20010929_z48_nn50/p126r046_7t20010929_z48_nn20”
d.erase
d.rast ratio5_2)
but it doesn’t work

Could you elaborare on “it doesn’t work”?

Markus

The successful revolutionary is a statesman, the unsuccessful one a criminal.

This mail was received via Mail-SeCure System.

_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
This mail was received via Mail-SeCure System.

-- 
Micha Silver
GIS Consultant, Arava Development Co.
[http://www.surfaces.co.il](http://www.surfaces.co.il)