#2957: t.rast.what throw error while running on large number of maps
-----------------------------------+-------------------------
Reporter: spareeth | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: temporal, t.rast.what | CPU: Unspecified
Platform: Linux |
-----------------------------------+-------------------------
The temporal module t.rast.what throw error when nprocs is not used, while
running on large number of maps (10,800 raster input in my case).
The error is:
{{{
Traceback (most recent call last):
File "/usr/local/grass-7.1.svn/scripts/t.rast.what", line 526, in
<module>
main(options, flags)
File "/usr/local/grass-7.1.svn/scripts/t.rast.what", line 266, in main
mod(map=map_names, output=file_name)
NameError: global name 'map_names' is not defined
}}}
It works if I give nprocs option; for example nprocs=4
With smaller number of maps, with or without nprocs work fine.
#2957: t.rast.what throw error while running on large number of maps
--------------------------+-----------------------------------
Reporter: spareeth | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: temporal, t.rast.what
CPU: Unspecified | Platform: Linux
--------------------------+-----------------------------------
Comment (by lrntct):
I encountered the same bug with a STRDS of 422 maps, meanwhile another
STRDS of 600 maps of the same size worked fine.
passing nprocs resolved the issue as well.