<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 10, 2023 at 9:14 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.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">I don't understand why a raster elevation map with DCELL precision is<br>
rejected by r.slope.aspect. The region was set to the vector analysis area.<br>
<br>
<a href="http://r.info" rel="noreferrer" target="_blank">r.info</a> tells me this about the elevation map:<br>
+----------------------------------------------------------------------------+<br>
| Map: dem2014 Date: Wed May 10 13:47:46 2023 |<br>
| Mapset: northside_rock Login of Creator: rshepard |<br>
| Location: Oregon |<br>
| DataBase: /data1/grassdata |<br>
| Title: dem_2014 |<br>
| Timestamp: none |<br>
|----------------------------------------------------------------------------|<br>
| |<br>
| Type of Map: raster Number of Categories: 0 |<br>
| Data Type: DCELL Semantic label: (none) |<br>
| Rows: 1037 |<br>
| Columns: 1056 |<br>
| Total Cells: 1095072 |<br>
| Projection: NAD83(CORS96) / Oregon North |<br>
| N: 224201 S: 223164 Res: 1 |<br>
| E: 2307121.58 W: 2306066 Res: 0.99960227 |<br>
| Range of data: min = 240 max = 820 |<br>
| |<br>
| Data Description: |<br>
| generated by r.surf.contour |<br>
| |<br>
| Comments: |<br>
| r.surf.contour --overwrite input="baseline_dem" output="dem_2014" |<br>
| |<br>
+----------------------------------------------------------------------------+<br>
<br>
grass reports (with the module usage redacted):<br>
r.slope.aspect elev=dem2014 slope=dem2014_slope aspect=dem2014_aspect format=degrees precision=DCELLl pcurv=dem2014_pcurve dx=dem2014_ew_slope dy=dem2014_ns_slope mem=2000 --o<br>
Generates raster maps of slope, aspect, curvatures and partial derivatives from an elevation raster map.<br>
...<br>
<br>
ERROR: Value <DCELLl> out of range for parameter <precision><br>
Legal range: CELL,FCELL,DCELL<br>
<br>
What exactly is out of range?<br></blockquote><div><br></div><div>It's a typo in "DCELL" </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
TIA,<br>
<br>
Rich<br>
_______________________________________________<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><br>
</blockquote></div></div>