[GRASS-user] calculate the volume of a DEM with r.volume

marion-brunet at sfr.fr marion-brunet at sfr.fr
Mon Jul 16 21:10:21 PDT 2018


<span style="font-family:arial,helvetica,sans-serif; font-size:12px">Thank you for the information about trac, I didn't know this software, but it could be useful!<br>
<br>
I tried redoing the calculations without rounding. The results are closer to the results obtained with r.volume (only tens of meters of difference, instead of thousands‌), but they are not the exact same. I think it is because GRASS rounds the results itself (for the nesres and ewres for instance), so it is not possible to have the exact same results.<br>
Maybe r.volume is more precise because there are no intermediate results.<br>
<br>
Marion</span>

<div class="gl_quote" style="margin-top: 20px; padding-top: 5px;">De : "Moritz Lennert"<br>
A : marion-brunet at sfr.fr,"grass-user"<br>
Envoyé: lundi 16 juillet 2018 11:02<br>
Objet : Re: [GRASS-user] calculate the volume of a DEM with r.volume<br>
 
<div class="gl_quoted">On 15/07/18 13:52, marion-brunet at sfr.fr wrote:<br>
> Hi,<br>
><br>
> Thank you for the clarification on the clumps, it makes more sense for<br>
> me now.‌<br>
><br>
> However you said :<br>
><br>
> "Ideally, the clump option of r.volume should be optional. You could file<br>
> an enhancement wish on trac for that."<br>
><br>
> But I don't really understand what you mean by "an enhancement wish on<br>
> trac for that", could you explain it a bit more ?<br>
<br>
Yes, sorry, I understand that this is not clear language for someone new<br>
to the community. trac is the software we use for bug ticket management,<br>
as technical wiki and it allows you to browse the source code [1].<br>
<br>
Whenever you detect a bug, or you wish to see an enhancement to GRASS<br>
GIS, you can file a ticket on trac. This gives a more solid existence to<br>
you wish as bugs or wishes declared in messages sent to the mailing list<br>
often get lost in the mass of mails.<br>
<br>
In order to be able to file a ticket you need a OSGeo userid [2].<br>
<br>
><br>
> I tried doing both r.volume and multiplying the sum by the cell size,<br>
> and I have approximately the same results, but there a are some little<br>
> differences. I think it is because, with the second method, I rounded up<br>
> the results I had, because there were too many digits, so I might I lost<br>
> some precision in my results.<br>
><br>
<br>
That is quite possible. Have you tried without rounding ?<br>
<br>
Moritz<br>
<br>
<br>
<br>
[1] https://trac.osgeo.org/grass<br>
[2] https://www.osgeo.org/community/getting-started-osgeo/osgeo_userid/</div>

<div class="gl_quoted"> </div>
</div>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180717/ad1e723f/attachment.html>


More information about the grass-user mailing list