[GRASS-dev] [GRASS GIS] #3186: [PATCH] i.in.spotvgt: allow import of any band, not only NDVI

GRASS GIS trac at osgeo.org
Wed Oct 19 05:43:25 PDT 2016


#3186: [PATCH] i.in.spotvgt: allow import of any band, not only NDVI
--------------------------+--------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.0.6
 Component:  Imagery      |    Version:  svn-trunk
Resolution:               |   Keywords:  i.in.spotvgt bands
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+--------------------------------

Comment (by mlennert):

 I've replaced the patch with a new one, that loops through all bands. By
 default it only imports NDVI (as before), but by setting the -b flag the
 use can request import of all bands (B0, B2, B3, MIR, and NDVI).

 This changes the module API a bit as now the user points the module to the
 metadata file (0001_LOG.TXT) and not to the NDVI file. I would be possible
 to rewrite it so that the user can point to either of the two. Or just the
 NDVI file... I'll get back to it when I find the time, unless someone else
 wants to.

 As is, the patch does work for looping, though.

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



More information about the grass-dev mailing list