[GRASS-dev] [GRASS GIS] #2089: i.landsat.toar doesn't take into account the resolution difference between panchromatic and the other bands.

GRASS GIS trac at osgeo.org
Wed Oct 2 05:52:06 PDT 2013


#2089: i.landsat.toar doesn't take into account the resolution difference between
panchromatic and the other bands.
----------------------------+-----------------------------------------------
 Reporter:  vesnikos        |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  major           |   Milestone:  7.0.0                    
Component:  Imagery         |     Version:  svn-trunk                
 Keywords:  i.landsat.toar  |    Platform:  All                      
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------
Changes (by neteler):

  * keywords:  => i.landsat.toar


Comment:

 Did you check with the current version in GRASS 6 (the original author
 confirmed the other day to me that it should behave as expected)?

 Interestingly, both use the same mechanism to maintain the resolution:

 {{{
 [neteler at oboe ~]$ grep _get_cellhd grass64/imagery/i.landsat.toar/main.c
             if (G_get_cellhd(band_in, mapset, &cellhd) < 0)
         if (G_get_cellhd(band_in, mapset, &cellhd) < 0)

 [neteler at oboe ~]$ grep _get_cellhd grass70/imagery/i.landsat.toar/main.c
             Rast_get_cellhd(band_in, "", &cellhd);
         Rast_get_cellhd(band_in, "", &cellhd);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2089#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list