#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...
#3932: i.vi: NDWI unnecessarily requires red band
----------------------+---------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.8.1
Component: Imagery | Version: git-releasebranch78
Resolution: fixed | Keywords: i.vi
CPU: All | Platform: All
----------------------+---------------------------------
Comment (by sbl):
Personally, I would say, ideally, i.vi and i.wi would be merged into one
module e.g. i.spectral.index, where computation of all sorts of spectral
indices is collected...
That would be most convenient for users and it would reduce maintenance
burden (though the modules would have to be merged first of course). Worth
a new ticket?