[GRASS-dev] [GRASS GIS] #3932: i.vi: NDWI unnecessarily requires red band

Yann Chemin dr.yann.chemin at gmail.com
Tue Nov 5 04:52:22 PST 2019


https://github.com/OSGeo/grass/pull/178/commits
----------
Dr. Yann Chemin
+33 7 83 85 5234
JRC, Ispra, IT



On Tue, 5 Nov 2019 at 13:12, GRASS GIS <trac at osgeo.org> wrote:

> #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>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20191105/711fb5f2/attachment.html>


More information about the grass-dev mailing list