[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
Fri Oct 4 08:19:02 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     |  
----------------------------+-----------------------------------------------

Comment(by neteler):

 Perhaps this email contains relevant info:

 http://lists.osgeo.org/pipermail/grass-dev/2010-July/051318.html
 [GRASS-dev] Rast_set_window() changes in 7.0 - Thu Jul 22 02:57:55 EDT
 2010

 The problem will be in this part of G7's i.landsat.toar/main.c:
 {{{
             sprintf(band_in, "%s%d", inputname, lsat.band[i].code);
             if ((infd = Rast_open_old(band_in, "")) < 0)
                 G_fatal_error(_("Unable to open raster map <%s>"),
 band_in);
             Rast_get_cellhd(band_in, "", &cellhd);
             G_set_window(&cellhd);
 }}}

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



More information about the grass-dev mailing list