[GRASS-dev] [GRASS GIS] #3932: i.vi: NDWI unnecessarily requires red band
GRASS GIS
trac at osgeo.org
Tue Nov 5 04:12:53 PST 2019
#3932: i.vi: NDWI unnecessarily requires red band
---------------------+---------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.1
Component: Imagery | Version: git-releasebranch78
Keywords: i.vi | CPU: All
Platform: All |
---------------------+---------------------------------
i.vi requires a red band in any case, even if e.g. NDWI does not need one.
So, in order to make the module run, a map has to be given also for the
red band. That seems like unexpected behavior to me.
Maybe better to leave all input bands optional and add a check for the
requested VI if required bands are provided...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3932>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list