<div dir="ltr"><a href="https://github.com/OSGeo/grass/pull/178/commits">https://github.com/OSGeo/grass/pull/178/commits</a><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Dr. Yann Chemin</div><div dir="ltr">+33 7 83 85 5234</div><div>JRC, Ispra, IT<br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Nov 2019 at 13:12, GRASS GIS <<a href="mailto:trac@osgeo.org">trac@osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">#3932: <a href="http://i.vi" rel="noreferrer" target="_blank">i.vi</a>: NDWI unnecessarily requires red band<br>
---------------------+---------------------------------<br>
Reporter: sbl | Owner: grass-dev@…<br>
Type: defect | Status: new<br>
Priority: normal | Milestone: 7.8.1<br>
Component: Imagery | Version: git-releasebranch78<br>
Keywords: <a href="http://i.vi" rel="noreferrer" target="_blank">i.vi</a> | CPU: All<br>
Platform: All |<br>
---------------------+---------------------------------<br>
<a href="http://i.vi" rel="noreferrer" target="_blank">i.vi</a> requires a red band in any case, even if e.g. NDWI does not need one.<br>
So, in order to make the module run, a map has to be given also for the<br>
red band. That seems like unexpected behavior to me.<br>
Maybe better to leave all input bands optional and add a check for the<br>
requested VI if required bands are provided...<br>
<br>
-- <br>
Ticket URL: <<a href="https://trac.osgeo.org/grass/ticket/3932" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/ticket/3932</a>><br>
GRASS GIS <<a href="https://grass.osgeo.org" rel="noreferrer" target="_blank">https://grass.osgeo.org</a>><br>
<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote></div>