[GRASS-user] error while using i.segment.stats

Veronica Andreo veroandreo at gmail.com
Mon Dec 2 04:43:30 PST 2019


We are trying to use i.segment.stats for a map with 800000+ segments and
already in two different laptops, we get:

bands=`g.list rast pat=IGUAZU_IMG_* sep=,`

i.segment.stats -rc \
                 map=segments_full_region \
                 rasters=$bands \
                 raster_statistics=$RASTER_STATS \
                 area_measures=$AREA_STATS \
                 vectormap=segs_stats_map \
Calculating geometry statistics...
Calculating statistics for raster maps...
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 463, in
    task = get()
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 251, in recv
    return _ForkingPickler.loads(buf.getbuffer())
TypeError: __init__() missing 3 required positional arguments: 'module',
'code', and 'returncode'

Does it have to do with memory? I used the module a month ago with 500000+
segments and it worked just fine...

Any hints are more than welcome

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20191202/3fb1705b/attachment.html>

More information about the grass-user mailing list