#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@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@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>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to