Opened 9 years ago
Closed 6 years ago
#2957 closed defect (fixed)
t.rast.what throw error while running on large number of maps
Reported by: | spareeth | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.4 |
Component: | Temporal | Version: | svn-trunk |
Keywords: | temporal, t.rast.what | Cc: | |
CPU: | Unspecified | Platform: | Linux |
Description
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.
Sajid
Change History (12)
comment:1 by , 9 years ago
Milestone: | 7.1.0 → 7.2.0 |
---|
comment:2 by , 9 years ago
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.
comment:7 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:11 by , 7 years ago
Milestone: | → 7.2.4 |
---|
comment:12 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Tested here in NC with 1000 maps:
for i in `seq -w 1 1000` ; do r.mapcalc expression="map_$i = 1" ; done t.create output=test type=strds temporaltype=absolute title="test" description="test" g.list rast pat=map_* output=list t.register input=test file=list start='2000-01-01' increment="1 days" -i t.rast.what coordinates=494637.096774,154319.556452 strds=test
all fine, no error reported. Closing.
Note:
See TracTickets
for help on using tickets.
Milestone renamed