[GRASS-dev] [GRASS GIS] #1429: r.watershed large grids

#1429: r.watershed large grids
--------------------------+--------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: r.watershed, Large grids
       CPU: x86-64 | Platform: Linux
--------------------------+--------------------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed
* milestone: 7.0.5 => 7.0.0

Old description:

tried r.watershed on a large elevation grid (51000 rows, 133000 columns,
6783000000 cells) with the following options:

r.watershed -m elevation=nc_20ft_ncfpm@statewide threshold=500000
accumulation=nc_flow_accum_wsh@statewide drainage=nc_direct_wsh@statewide
basin=nc_wshed_label_wsh stream=nc_stream_seg_wsh
half_basin=nc_half_basin_wsh memory=8000

and got the following output:

SECTION 1 beginning: Initiating Variables. 5 sections total.
SECTION 1a: Mark masked and NULL cells
segment_format(fd,1,-803458658,1,4096,8): illegal value(s)
seg_open(): illegal configuration parameter(s)
segment_format(fd,1,-803458657,1,262144,16): illegal value(s)
seg_open(): illegal configuration parameter(s)
SECTION 1b: Determining Offmap Flow.
Subprocess failed with exit code 11
category information for [nc_flow_accum_wsh@statewide] in [statewide]
missing or invalid
category information for [nc_direct_wsh@statewide] in [statewide] missing
or invalid
category information for [nc_wshed_label_wsh] in [statewide] missing or
invalid
category information for [nc_stream_seg_wsh] in [statewide] missing or
invalid
category information for [nc_half_basin_wsh] in [statewide] missing or
invalid
(Sat Aug 27 11:38:42 2011) Command finished (45054 sec)

GRASS 7.0 svn pull from 8/17/2011

looking at raster/r.watershed/seg/cseg.h

New description:

tried r.watershed on a large elevation grid (51000 rows, 133000 columns,
6783000000 cells) with the following options:

  r.watershed -m elevation=nc_20ft_ncfpm@statewide threshold=500000
accumulation=nc_flow_accum_wsh@statewide drainage=nc_direct_wsh@statewide
basin=nc_wshed_label_wsh stream=nc_stream_seg_wsh
half_basin=nc_half_basin_wsh memory=8000

and got the following output:

{{{
SECTION 1 beginning: Initiating Variables. 5 sections total.
SECTION 1a: Mark masked and NULL cells
segment_format(fd,1,-803458658,1,4096,8): illegal value(s)
seg_open(): illegal configuration parameter(s)
segment_format(fd,1,-803458657,1,262144,16): illegal value(s)
seg_open(): illegal configuration parameter(s)
SECTION 1b: Determining Offmap Flow.
Subprocess failed with exit code 11
category information for [nc_flow_accum_wsh@statewide] in [statewide]
missing or invalid
category information for [nc_direct_wsh@statewide] in [statewide] missing
or invalid
category information for [nc_wshed_label_wsh] in [statewide] missing or
invalid
category information for [nc_stream_seg_wsh] in [statewide] missing or
invalid
category information for [nc_half_basin_wsh] in [statewide] missing or
invalid
(Sat Aug 27 11:38:42 2011) Command finished (45054 sec)

GRASS 7.0 svn pull from 8/17/2011
}}}

looking at raster/r.watershed/seg/cseg.h

--

Comment:

Closing as suggested, it was already working 2 years ago as per upper
comment.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1429#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>