#1429: r.watershed large grids
-------------------------+--------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: Large grids | Platform: Linux
Cpu: x86-64 |
-------------------------+--------------------------------------------------
tried r.watershed on a large elevation grid (51000 rows, 133000 columns,
6783000000 cells) with the following options:
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)
#1429: r.watershed large grids
-------------------------+--------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: Large grids | Platform: Linux
Cpu: x86-64 |
-------------------------+--------------------------------------------------
Comment(by mmetz):
Replying to [ticket:1429 dnewcomb]:
> tried r.watershed on a large elevation grid (51000 rows, 133000 columns,
6783000000 cells)
For larger grids, GRASS must be compiled with LFS: configure --enable-
largefile, and quite a bit of free disk space must be available where the
current location is living.
Apart from that, 6783000000 cells are currently too much, see recent
similar post in the user ml [0]. The current limit is 2^31^ - 1 =
2,147,483,647 cells. This can be overcome in trunk, but requires quite a
few modifications both in the segment library and in r.watershed.
#1429: r.watershed large grids
--------------------------------------+-------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.watershed, Large grids | Platform: Linux
Cpu: x86-64 |
--------------------------------------+-------------------------------------
Changes (by neteler):
* keywords: Large grids => r.watershed, Large grids
* component: Default => Raster
Comment:
I tried with the current GRASS 7.svn (r59279, approximately 7.0.0beta1)
and
r.watershed worked smoothly with 9 billion pixels (77 hours, way more
pixels
than in the original report):