<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 5, 2020 at 2:51 PM Valter Albino <<a href="mailto:valteralbino@gmail.com">valteralbino@gmail.com</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"><div dir="ltr"><div dir="ltr">I can see it [<a href="https://grass.osgeo.org/grass78/manuals/r.mapcalc.html" target="_blank">https://grass.osgeo.org/grass78/manuals/r.mapcalc.html</a>]. <br>Altought for the example that was presented the syntax doesn't work, it's a fine solution, thanks Pedro!</div></div></blockquote><div><br></div><div>Hi, I'm getting back to this to ask about the example with syntax which does not work. What example are you talking about?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>> escreveu no dia domingo, 5/04/2020 à(s) 19:31:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Valter logical and in GRASS is &&.<div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Pedro</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A domingo, 5/04/2020, 19:11, Valter Albino <<a href="mailto:valteralbino@gmail.com" rel="noreferrer" target="_blank">valteralbino@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">OK, it doesn't support this type of function: <span style="font-family:"Courier New";color:rgb(119,119,119)">"Undefined function 'logical_and'"</span><br></div><div>Hey, but GDAL raster calculator in QGIS GUI does!</div><div><br clear="all"></div><div dir="ltr"><div><div><div><div><div dir="ltr"><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"><div><div><span style="color:rgb(0,0,0)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Cumprimentos,</span></span></font></span><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><br>Valter Albino -</span></span></font></span></b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><b> </b>Geógrafo Físico, M.Sc.<span></span><span></span></span></span></font></span><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"></span></span></font></span></b><br><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"></span></span></font></span></b></div></div><div><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Modelação H&H / </span><span style="font-family:arial,helvetica,sans-serif">Riscos ambientais / OT&U<br></span></span></font></span></div><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><a href="http://www.valteralbino.wixsite.com/hydrodynamics" rel="noreferrer noreferrer" target="_blank">www.valteralbino.wixsite.com/hydrodynamics</a></span></span></font></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Valter Albino <<a href="mailto:valteralbino@gmail.com" rel="noreferrer noreferrer" target="_blank">valteralbino@gmail.com</a>> escreveu no dia domingo, 5/04/2020 à(s) 18:50:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi</div><div><br></div><div>Searching for a solution do compute a simple "if else" expression with 'r.mapcalc.simple' from QGIS GUI.<br></div><div>Don't understand the following message. Someone have any clue?</div><div></div><div><br></div><div dir="ltr">
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">QGIS version: 3.12.1-București</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">QGIS code revision: 121cc00ff0</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">Qt version: 5.11.2</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">GDAL version: 3.0.4</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">GEOS version: 3.8.1-CAPI-1.13.3</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(119,119,119)">PROJ version: Rel. 6.3.1, February 10th, 2020</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Processing algorithm…</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-weight:600">Algorithm 'r.mapcalc.simple' starting…</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Input parameters:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">{ 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 5, 'GRASS_REGION_PARAMETER' : '-59062.1289,-38278.9651,-78283.947,-59308.1937 [EPSG:3763]', 'a' : 'H:/recLUvalue.tif', 'b' : 'H:/recSoilNu.tif', 'c' : None, 'd' : None, 'e' : None, 'expression' : '99*(A==1) + 91*logical_and(A==2, B==1) + 94*logical_and(A==2, B==2) + 96*logical_and(A==2, B==3) + 97*logical_and(A==2, B==4) + 93*logical_and(A==3, B==1) + 95*logical_and(A==3, B==2) + 97*logical_and(A==3, B==3) + 97*logical_and(A==3, B==4) + 91*logical_and(A==4, B==1) + 94*logical_and(A==4, B==2) + 96*logical_and(A==4, B==3) + 97*logical_and(A==4, B==4) + 78*logical_and(A==5, B==1) + 86*logical_and(A==5, B==2) + 91*logical_and(A==5, B==3) + 92*logical_and(A==5, B==4) + 100*(A==1) + 79*logical_and(A==8, B==1) + 87*logical_and(A==8, B==2) + 91*logical_and(A==8, B==3) + 93*logical_and(A==8, B==4) + 78*logical_and(A==9, B==1) + 86*logical_and(A==9, B==1) + 91*logical_and(A==9, B==2) + 93*logical_and(A==9, B==3) + 72*logical_and(A==11, B==1) + 84*logical_and(A==11, B==2) + 90*logical_and(A==11, B==3) + 92*logical_and(A==11, B==4) + 45*logical_and(A==12, B==1) + 71*logical_and(A==12, B==2) + 79*logical_and(A==12, B==3) + 84*logical_and(A==12, B==4) + 50*logical_and(A==13, B==1) + 76*logical_and(A==13, B==2) + 85*logical_and(A==13, B==3) + 89*logical_and(A==13, B==4) + 75*logical_and(A==14, B==1) + 87*logical_and(A==14, B==2) + 93*logical_and(A==14, B==3) + 96*logical_and(A==14, B==4)', 'f' : None, 'output' : 'TEMPORARY_OUTPUT' }</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">g.proj -c proj4="+proj=tmerc +lat_0=39.6682583333333 +lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">r.in.gdal input="H:\recLUvalue.tif" band=1 output="rast_5e8a18a12ad402" --overwrite -o</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">r.in.gdal input="H:\recSoilNu.tif" band=1 output="rast_5e8a18a12ad403" --overwrite -o</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">g.region n=-59308.1937 s=-78283.947 e=-38278.9651 w=-59062.1289 res=5.0</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">r.mapcalc.simple a=rast_5e8a18a12ad402 b=rast_5e8a18a12ad403 expression="99*(A==1) + 91*logical_and(A==2, B==1) + 94*logical_and(A==2, B==2) + 96*logical_and(A==2, B==3) + 97*logical_and(A==2, B==4) + 93*logical_and(A==3, B==1) + 95*logical_and(A==3, B==2) + 97*logical_and(A==3, B==3) + 97*logical_and(A==3, B==4) + 91*logical_and(A==4, B==1) + 94*logical_and(A==4, B==2) + 96*logical_and(A==4, B==3) + 97*logical_and(A==4, B==4) + 78*logical_and(A==5, B==1) + 86*logical_and(A==5, B==2) + 91*logical_and(A==5, B==3) + 92*logical_and(A==5, B==4) + 100*(A==1) + 79*logical_and(A==8, B==1) + 87*logical_and(A==8, B==2) + 91*logical_and(A==8, B==3) + 93*logical_and(A==8, B==4) + 78*logical_and(A==9, B==1) + 86*logical_and(A==9, B==1) + 91*logical_and(A==9, B==2) + 93*logical_and(A==9, B==3) + 72*logical_and(A==11, B==1) + 84*logical_and(A==11, B==2) + 90*logical_and(A==11, B==3) + 92*logical_and(A==11, B==4) + 45*logical_and(A==12, B==1) + 71*logical_and(A==12, B==2) + 79*logical_and(A==12, B==3) + 84*logical_and(A==12, B==4) + 50*logical_and(A==13, B==1) + 76*logical_and(A==13, B==2) + 85*logical_and(A==13, B==3) + 89*logical_and(A==13, B==4) + 75*logical_and(A==14, B==1) + 87*logical_and(A==14, B==2) + 93*logical_and(A==14, B==3) + 96*logical_and(A==14, B==4)" output=outputb7f2c5ec865148f6a92bddf859fdf839 --overwrite</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">g.region raster=outputb7f2c5ec865148f6a92bddf859fdf839</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">r.out.gdal -t -m input="outputb7f2c5ec865148f6a92bddf859fdf839" output="C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\1c703db4b0d14b2a88c0e57e10cf8d6e\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Starting GRASS GIS...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">WARNING: Concurrent mapset locking is not supported on Windows</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Cleaning up temporary files...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Executing <C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\grassdata\grass_batch_job.cmd> ...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>chcp 1252 1>NUL</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>g.proj -c proj4="+proj=tmerc +lat_0=39.6682583333333 +lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Projection information updated</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>r.in.gdal input="H:\recLUvalue.tif" band=1 output="rast_5e8a18a12ad402" --overwrite -o</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Over-riding projection check</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Importing raster map <rast_5e8a18a12ad402>...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>r.in.gdal input="H:\recSoilNu.tif" band=1 output="rast_5e8a18a12ad403" --overwrite -o</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Over-riding projection check</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Importing raster map <rast_5e8a18a12ad403>...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>g.region n=-59308.1937 s=-78283.947 e=-38278.9651 w=-59062.1289 res=5.0</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>r.mapcalc.simple a=rast_5e8a18a12ad402 b=rast_5e8a18a12ad403 expression="99*(A==1) + 91*logical_and(A==2, B==1) + 94*logical_and(A==2, B==2) + 96*logical_and(A==2, B==3) + 97*logical_and(A==2, B==4) + 93*logical_and(A==3, B==1) + 95*logical_and(A==3, B==2) + 97*logical_and(A==3, B==3) + 97*logical_and(A==3, B==4) + 91*logical_and(A==4, B==1) + 94*logical_and(A==4, B==2) + 96*logical_and(A==4, B==3) + 97*logical_and(A==4, B==4) + 78*logical_and(A==5, B==1) + 86*logical_and(A==5, B==2) + 91*logical_and(A==5, B==3) + 92*logical_and(A==5, B==4) + 100*(A==1) + 79*logical_and(A==8, B==1) + 87*logical_and(A==8, B==2) + 91*logical_and(A==8, B==3) + 93*logical_and(A==8, B==4) + 78*logical_and(A==9, B==1) + 86*logical_and(A==9, B==1) + 91*logical_and(A==9, B==2) + 93*logical_and(A==9, B==3) + 72*logical_and(A==11, B==1) + 84*logical_and(A==11, B==2) + 90*logical_and(A==11, B==3) + 92*logical_and(A==11, B==4) + 45*logical_and(A==12, B==1) + 71*logical_and(A==12, B==2) + 79*logical_and(A==12, B==3) + 84*logical_and(A==12, B==4) + 50*logical_and(A==13, B==1) + 76*logical_and(A==13, B==2) + 85*logical_and(A==13, B==3) + 89*logical_and(A==13, B==4) + 75*logical_and(A==14, B==1) + 87*logical_and(A==14, B==2) + 93*logical_and(A==14, B==3) + 96*logical_and(A==14, B==4)" output=outputb7f2c5ec865148f6a92bddf859fdf839 --overwrite</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Undefined function 'logical_and'</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Parse error</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">ERROR: parse error</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">ERROR: An error occurred while running r.mapcalc with expression: outputb7f2c5ec865148f6a92bddf859fdf839 = 99*(rast_5e8a18a12ad402==1) + 91*logical_and(rast_5e8a18a12ad402==2, rast_5e8a18a12ad403==1) + 94*logical_and(rast_5e8a18a12ad402==2, rast_5e8a18a12ad403==2) + 96*logical_and(rast_5e8a18a12ad402==2, rast_5e8a18a12ad403==3) + 97*logical_and(rast_5e8a18a12ad402==2, rast_5e8a18a12ad403==4) + 93*logical_and(rast_5e8a18a12ad402==3, rast_5e8a18a12ad403==1) + 95*logical_and(rast_5e8a18a12ad402==3, rast_5e8a18a12ad403==2) + 97*logical_and(rast_5e8a18a12ad402==3, rast_5e8a18a12ad403==3) + 97*logical_and(rast_5e8a18a12ad402==3, rast_5e8a18a12ad403==4) + 91*logical_and(rast_5e8a18a12ad402==4, rast_5e8a18a12ad403==1) + 94*logical_and(rast_5e8a18a12ad402==4, rast_5e8a18a12ad403==2) + 96*logical_and(rast_5e8a18a12ad402==4, rast_5e8a18a12ad403==3) + 97*logical_and(rast_5e8a18a12ad402==4, rast_5e8a18a12ad403==4) + 78*logical_and(rast_5e8a18a12ad402==5, rast_5e8a18a12ad403==1) + 86*logical_and(rast_5e8a18a12ad402==5, rast_5e8a18a12ad403==2) + 91*logical_and(rast_5e8a18a12ad402==5, rast_5e8a18a12ad403==3) + 92*logical_and(rast_5e8a18a12ad402==5, rast_5e8a18a12ad403==4) + 100*(rast_5e8a18a12ad402==1) + 79*logical_and(rast_5e8a18a12ad402==8, rast_5e8a18a12ad403==1) + 87*logical_and(rast_5e8a18a12ad402==8, rast_5e8a18a12ad403==2) + 91*logical_and(rast_5e8a18a12ad402==8, rast_5e8a18a12ad403==3) + 93*logical_and(rast_5e8a18a12ad402==8, rast_5e8a18a12ad403==4) + 78*logical_and(rast_5e8a18a12ad402==9, rast_5e8a18a12ad403==1) + 86*logical_and(rast_5e8a18a12ad402==9, rast_5e8a18a12ad403==1) + 91*logical_and(rast_5e8a18a12ad402==9, rast_5e8a18a12ad403==2) + 93*logical_and(rast_5e8a18a12ad402==9, rast_5e8a18a12ad403==3) + 72*logical_and(rast_5e8a18a12ad402==11, rast_5e8a18a12ad403==1) + 84*logical_and(rast_5e8a18a12ad402==11, rast_5e8a18a12ad403==2) + 90*logical_and(rast_5e8a18a12ad402==11, rast_5e8a18a12ad403==3) + 92*logical_and(rast_5e8a18a12ad402==11, rast_5e8a18a12ad403==4) + 45*logical_and(rast_5e8a18a12ad402==12, rast_5e8a18a12ad403==1) + 71*logical_and(rast_5e8a18a12ad402==12, rast_5e8a18a12ad403==2) + 79*logical_and(rast_5e8a18a12ad402==12, rast_5e8a18a12ad403==3) + 84*logical_and(rast_5e8a18a12ad402==12, rast_5e8a18a12ad403==4) + 50*logical_and(rast_5e8a18a12ad402==13, rast_5e8a18a12ad403==1) + 76*logical_and(rast_5e8a18a12ad402==13, rast_5e8a18a12ad403==2) + 85*logical_and(rast_5e8a18a12ad402==13, rast_5e8a18a12ad403==3) + 89*logical_and(rast_5e8a18a12ad402==13, rast_5e8a18a12ad403==4) + 75*logical_and(rast_5e8a18a12ad402==14, rast_5e8a18a12ad403==1) + 87*logical_and(rast_5e8a18a12ad402==14, rast_5e8a18a12ad403==2) + 93*logical_and(rast_5e8a18a12ad402==14, rast_5e8a18a12ad403==3) + 96*logical_and(rast_5e8a18a12ad402==14, rast_5e8a18a12ad403==4)</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Execution of <C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\grassdata\grass_batch_job.cmd> finished.</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Cleaning up temporary files...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Press any key to continue . . .</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Starting GRASS GIS...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">WARNING: Concurrent mapset locking is not supported on Windows</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Cleaning up temporary files...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Executing <C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\grassdata\grass_batch_job.cmd> ...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>chcp 1252 1>NUL</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>g.region raster=outputb7f2c5ec865148f6a92bddf859fdf839</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">ERROR: Raster map <outputb7f2c5ec865148f6a92bddf859fdf839> not found</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>r.out.gdal -t -m input="outputb7f2c5ec865148f6a92bddf859fdf839" output="C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\1c703db4b0d14b2a88c0e57e10cf8d6e\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">ERROR: Raster map or group <outputb7f2c5ec865148f6a92bddf859fdf839> not found</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">C:\Users\Particular\Documents>exit</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Execution of <C:\Users\Particular\AppData\Local\Temp\processing_GWGaYw\grassdata\grass_batch_job.cmd> finished.</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Cleaning up temporary files...</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New";color:rgb(119,119,119)">Press any key to continue . . .</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Execution completed in 2.38 seconds</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Results:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"Courier New"">{'output': <QgsProcessingOutputLayerDefinition {'sink':TEMPORARY_OUTPUT, 'createOptions': {'fileEncoding': 'System'}}>}</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Loading resulting layers</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">The following layers were not correctly generated.<ul><li>C:/Users/Particular/AppData/Local/Temp/processing_GWGaYw/1c703db4b0d14b2a88c0e57e10cf8d6e/output.tif</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.</span></p></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div>This is the GRASS log message:</div><div><span style="color:rgb(0,0,0)">2020-04-05T18:42:57 INFO </span>processInputs end. Commands: ['g.proj -c proj4="+proj=tmerc +lat_0=39.6682583333333 +lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"', 'r.in.gdal input="H:\\recLUvalue.tif" band=1 output="rast_5e8a18a12ad402" --overwrite -o', 'r.in.gdal input="H:\\recSoilNu.tif" band=1 output="rast_5e8a18a12ad403" --overwrite -o', 'g.region n=-59308.1937 s=-78283.947 e=-38278.9651 w=-59062.1289 res=5.0']
<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">2020-04-05T18:42:57 INFO </span>processCommands end. Commands: ['g.proj -c proj4="+proj=tmerc +lat_0=39.6682583333333 +lon_0=-8.13310833333333 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"', 'r.in.gdal input="H:\\recLUvalue.tif" band=1 output="rast_5e8a18a12ad402" --overwrite -o', 'r.in.gdal input="H:\\recSoilNu.tif" band=1 output="rast_5e8a18a12ad403" --overwrite -o', 'g.region n=-59308.1937 s=-78283.947 e=-38278.9651 w=-59062.1289 res=5.0', 'r.mapcalc.simple a=rast_5e8a18a12ad402 b=rast_5e8a18a12ad403 expression="99*(A==1) + 91*logical_and(A==2, B==1) + 94*logical_and(A==2, B==2) + 96*logical_and(A==2, B==3) + 97*logical_and(A==2, B==4) + 93*logical_and(A==3, B==1) + 95*logical_and(A==3, B==2) + 97*logical_and(A==3, B==3) + 97*logical_and(A==3, B==4) + 91*logical_and(A==4, B==1) + 94*logical_and(A==4, B==2) + 96*logical_and(A==4, B==3) + 97*logical_and(A==4, B==4) + 78*logical_and(A==5, B==1) + 86*logical_and(A==5, B==2) + 91*logical_and(A==5, B==3) + 92*logical_and(A==5, B==4) + 100*(A==1) + 79*logical_and(A==8, B==1) + 87*logical_and(A==8, B==2) + 91*logical_and(A==8, B==3) + 93*logical_and(A==8, B==4) + 78*logical_and(A==9, B==1) + 86*logical_and(A==9, B==1) + 91*logical_and(A==9, B==2) + 93*logical_and(A==9, B==3) + 72*logical_and(A==11, B==1) + 84*logical_and(A==11, B==2) + 90*logical_and(A==11, B==3) + 92*logical_and(A==11, B==4) + 45*logical_and(A==12, B==1) + 71*logical_and(A==12, B==2) + 79*logical_and(A==12, B==3) + 84*logical_and(A==12, B==4) + 50*logical_and(A==13, B==1) + 76*logical_and(A==13, B==2) + 85*logical_and(A==13, B==3) + 89*logical_and(A==13, B==4) + 75*logical_and(A==14, B==1) + 87*logical_and(A==14, B==2) + 93*logical_and(A==14, B==3) + 96*logical_and(A==14, B==4)" output=outputb7f2c5ec865148f6a92bddf859fdf839 --overwrite']</p></div><div dir="ltr"><br></div><div>Thanks in advance<br></div><div dir="ltr"><br clear="all"><div><div dir="ltr"><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"><div><div><span style="color:rgb(0,0,0)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Cumprimentos,</span></span></font></span><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><br>Valter Albino -</span></span></font></span></b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><b> </b>Geógrafo Físico, M.Sc.<span></span><span></span></span></span></font></span><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"></span></span></font></span></b><br><b><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"></span></span></font></span></b></div></div><div><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Modelação H&H / </span><span style="font-family:arial,helvetica,sans-serif">Riscos ambientais / OT&U<br></span></span></font></span></div><span style="color:rgb(39,78,19)"><font size="1"><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif"><a href="http://www.valteralbino.wixsite.com/hydrodynamics" rel="noreferrer noreferrer" target="_blank">www.valteralbino.wixsite.com/hydrodynamics</a></span></span></font></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div></div></div>
</blockquote></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div></div>