[GRASS-user] r.basin error

kapo coulibaly kmcoulib at gmail.com
Tue Dec 4 06:19:10 PST 2012


The command using NC data on OSGEOLive 6.0 is attached. Thanks
(Tue Dec  4 14:13:38
2012)
r.basin -a map=elevation at PERMANENT prefix=ncbasin easting=641154
northing=222423
SECTION 1a (of 4): Initiating Memory.
SECTION 1b (of 4): Determining Offmap Flow.
SECTION 2: A * Search.
SECTION 3: Accumulating Surface Flow with SFD.
SECTION 4: Closing Maps.
Writing out only positive flow accumulation values.
Cells with a likely underestimate for flow accumulation can no longer be
identified.
threshold : 10000.0
Traceback (most recent call last):
  File "/home/user/grassdata/addons/r.basin", line 663, in
<module>
    sys.exit(main())
  File "/home/user/grassdata/addons/r.basin", line 151, in
main
    overwrite = True)
  File "/usr/lib/grass64/etc/python/grass/script/core.py",
line 189, in run_command
    ps = start_command(*args, **kwargs)
  File "/usr/lib/grass64/etc/python/grass/script/core.py",
line 177, in start_command
    return Popen(args, **popts)
  File "/usr/lib/grass64/etc/python/grass/script/core.py",
line 56, in __init__
    startupinfo, creationflags)
  File "/usr/lib/python2.7/subprocess.py", line 679, in
__init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
(Tue Dec  4 14:14:03 2012) Command finished (24
sec)


On Thu, Nov 29, 2012 at 7:56 AM, Margherita Di Leo <diregola at gmail.com>wrote:

> Hi,
>
> On Wed, Nov 28, 2012 at 8:46 PM, kapo coulibaly <kmcoulib at gmail.com>wrote:
>
>> I'm trying to run r.basin and I get the following error:
>> SECTION 1a (of 4): Initiating Memory.
>> SECTION 1b (of 4): Determining Offmap Flow.
>> SECTION 2: A * Search.
>> SECTION 3: Accumulating Surface Flow with SFD.
>> SECTION 4: Closing Maps.
>> Writing out only positive flow accumulation values.
>> Cells with a likely underestimate for flow accumulation can no longer be
>> identified.
>> Traceback (most recent call last):
>>   File "/home/user/grassdata/addons/r.basin", line 663, in
>> <module>
>>     sys.exit(main())
>>   File "/home/user/grassdata/addons/r.basin", line 151, in
>> main
>>     overwrite = True)
>>   File "/usr/lib/grass64/etc/python/grass/script/core.py",
>> line 189, in run_command
>>     ps = start_command(*args, **kwargs)
>>   File "/usr/lib/grass64/etc/python/grass/script/core.py",
>> line 177, in start_command
>>     return Popen(args, **popts)
>>   File "/usr/lib/grass64/etc/python/grass/script/core.py",
>> line 56, in __init__
>>     startupinfo, creationflags)
>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>> __init__
>>     errread, errwrite)
>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>> _execute_child
>>     raise child_exception
>> OSError: [Errno 2] No such file or directory
>> (Wed Nov 28 19:36:58 2012) Command finished (20 sec)
>>
>> I'm running the latest OSGeolive. But I got the exact same error on
>> Slackware 13 and CentOS 6
>>
>
> What's the exact command line that you are trying to run? Could you
> reproduce this error using NC dataset so that I can reproduce it as well?
>
> Thanks,
> madi
>
>>
>>
>
> --
> Margherita DI LEO
> Postdoctoral Researcher
> European Commission - DG JRC
> Forest Resources and Climate
> I-21020 Ispra (VA) - Italy - TP 261
>
> Tel. +39 0332 78 3600
> margherita.di-leo at jrc.ec.europa.eu
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121204/73d27d55/attachment.html>


More information about the grass-user mailing list