Leo wrote: > > Cellsize : 118.28096836 > > SECTION 1a (of 4): Initiating Memory. > > Current region rows: 17433, cols: 17539 > > ERROR: G_malloc: unable to allocate 2448854040 bytes of memory at > > init_vars.c:134 > > WARNING: Subprocess failed with exit code 1
Madi: > This log suggests that r.watershed, called by r.hazard.flood, is not > able to finish the job due to lack of memory. [@devs] in bash you can do a test "if [ $? -ne 0 ] ; then" to see if r.watershed finished correctly and go to a 'g.message -e' and 'exit 1' if it failed. r.hazard.flood is a python script, how to apply the same to grass.run_command() before claiming success and continuing? regards, -- Hamish <[email protected]> . Thought I should join the Yahoo mail diaspora before 30 days worth of my emails got flushed from everyone's spam boxes never to be seen again. In the last weeks some have made it to the ML archives at least, if not to end recipients. Others seem to have just disappeared into /dev/null. It didn't help that the web interface had become an unusable gibberish of broken JavaScript and their IMAP would only transfer the oldest 4% of my inbox. . http://www.ietf.org/mail-archive/web/ietf/current/msg87153.html http://www.spamresource.com/2014/04/up-in-arms-about-yahoos-dmarc-policy.html http://wiki.list.org/pages/viewpage.action?pageId=17891458 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
