[GRASS-dev] [bug #4522] (grass) r.series: error in row of input map
is non-fatal giving wrong results
Request Tracker
grass-bugs at intevation.de
Mon May 29 22:57:53 EDT 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=4522
-------------------------------------------------------------------------
Subject: r.series: error in row of input map is non-fatal giving wrong results
Hi,
a problem with r.series:
One of my input maps has a corruption in it (disk flaw??), using r.series
(method=average) I see this error:
WARNING: error reading compressed map [dbt_corrupt] in mapset
[sw2006f_icw], row 1465
but the process continues to completion and I get a resulting map which looks
ok, but is subtly wrong.
G61> r.univar dbt_mean_corrupted
100%
total null and non-null cells: 11160000
total null cells: 9626502
Of the non-null cells:
----------------------
n: 1533498
minimum: 0
maximum: 1.8731
range: 1.8731
mean: 0.810907
standard deviation: 0.361051
variance: 0.130358
variation coefficient: 44.5243 %
sum: 1243524.7052483591
G61> r.univar dbt_mean_good
100%
total null and non-null cells: 11160000
total null cells: 9629925
Of the non-null cells:
----------------------
n: 1530075
minimum: 0.2611
maximum: 1.8731
range: 1.612
mean: 0.812793
standard deviation: 0.359435
variance: 0.129194
variation coefficient: 44.2223 %
sum: 1243634.0932001742
As this was called from a script it is lucky I noticed..
The read error should trigger a G_fatal_error().
thanks,
Hamish
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list