[GRASS-user] g_malloc on r.watershed with 30GB free ram + r.fill.dir crash

mael mael.moreni at onf.fr
Fri Sep 11 10:37:13 PDT 2015

I tried to set the resolution with 'res=30 ', also tried with 'align', r.watershed finishes without a problem if I add the -m flag but the script keeps crashing at r.fills.dir.

De : Markus Neteler [via OSGeo.org] [mailto:ml-node+s1560n5223843h44 at n6.nabble.com]
Envoyé : vendredi 11 septembre 2015 13:23
Objet : Re: g_malloc on r.watershed with 30GB free ram + r.fill.dir crash

On Fri, Sep 11, 2015 at 5:22 PM, Helmut Kudrnovsky <[hidden email]</user/SendEmail.jtp?type=node&node=5223843&i=0>> wrote:

> > I define the computational area with 'g.region raster=dem zoom=dem' ('dem'
> being my raster) before launching the script so it should match the
> elevation map.
> try
> g.region -a raster=elevation align=elevation
> to match and align your dem
> https://grass.osgeo.org/grass70/manuals/g.region.html
> -a    Align region to resolution
> align=name Adjust region cells to cleanly align with this raster map

consider to also add -p in order to actually see what you have there.

Ideally the resolution should match that of the map, also in order to
avoid non-square pixels as you report above
nsres:      30.00043309
ewres:      29.99901663

which are not ideal.

grass-user mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=5223843&i=1>

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from g_malloc on r.watershed with 30GB free ram + r.fill.dir crash, click here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5223620&code=bWFlbC5tb3JlbmlAb25mLmZyfDUyMjM2MjB8LTEyMzYwODQ4NTI=>.

View this message in context: http://osgeo-org.1560.x6.nabble.com/g-malloc-on-r-watershed-with-30GB-free-ram-r-fill-dir-crash-tp5223620p5223866.html
Sent from the Grass - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150911/cc52956e/attachment.html>

More information about the grass-user mailing list