<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I ran the same data in QGIS 3.10.5 and it ran without problems. <br>
<br>
<br>
On 2/24/2021 3:51 PM, David Strip wrote:
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Qgis 3.16.2, GRASS 7.8.4, Win 10.<br>
<br>
I'm attempting to run the r.lake processing algorithm. If I select
"Temporary layer" for output, or specify a new file, I get and
error - "grass r.lake The following layers were not correctly
generated.". I believe this is because the script always specifies
<span style=" font-family:'Courier New'; color:#777777;">--overwrite,
</span><span style="color: rgb(119, 119, 119);"><font
color="#000000">which apparently fails if the file doesn't
already exist. <br>
I then try to run specifying a file that already exists. This
file is a copy of the input DEM layer used to run the
algorithm ,so it has the same properties as the input layer.
The algorithm runs to completion and adds the new layer to the
map, but it is appears to be the sameĀ as the file that was
supposed to be overwritten.<br>
<br>
My input layer can be found <a moz-do-not-send="true"
href="https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/TIFF/n37w107/USGS_13_n37w107.tif">here</a>.<br>
I load the file into a empty project. CRS is 4269<br>
I select r.lake<br>
Select the only layer as the Elevation input<br>
Set Water level =2500<br>
Select a seed - </font></span>The value of the DEM surface at
the seed point is around 2000.<span style="color: rgb(119, 119,
119);"></span><span style="color: rgb(119, 119, 119);"></span><br>
<span style="color: rgb(119, 119, 119);"><font color="#000000">Select
an existing file for output<br>
Accept all other defaults, run algorithm.<br>
<br>
The dump of the script parameters is:<br>
</font></span>
<blockquote>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">{ '-n' : False, 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'coordinates' : '-106.503588,36.309857 [EPSG:4269]', 'elevation' : 'C:/Users/David/Documents/Geodata/Topo maps/Abiquiu/USGS_13_n37w107.tif', 'lake' : 'C:/Users/David/Documents/Geodata/geoTemp/lake2.tif', 'seed' : None, 'water_level' : 2500 }</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New';">
</span></p>
</blockquote>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">I've run this with the original input file in EPSG:4269, and against the same file converted to UTM13N - EPSG: 26913 - same results in either case.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">What am I misunderstanding about how to run this?
Thx.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">David</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<span style=" font-family:'Courier New';"></span></p>
<blockquote>
<style type="text/css">p, li { white-space: pre-wrap; }</style></blockquote>
<span style=" font-family:'Courier New'; color:#777777;"></span> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
</body>
</html>