[GRASS-user] Segmentation fault with i.atcorr
Markus Neteler
neteler at osgeo.org
Tue Jun 3 07:38:37 EDT 2008
I have reproduced it in the NC dataset (some mapset problems of i.atcorr fixed
in SVN):
cat icnd
8 (TM)
02 13 2.30 125.1297377 5.7841158 (Geometrical conditions)
1 (Tropical)
1 Continental
15 visibility
-.600
-1000
61 (chosen band)
i.atcorr -b iimg=lsat5_1987_60 iscl=-6.978740,191.600 ialt=elevation
icnd=./icnd oimg=test_p112r056_b1.rad.atcorr oscl=0,255
...
Percent complete: Segmentation fault
The problem is in main.c, line 251:
if(isnan(vis[col]) || isnan(alt[col]) || isnan(buf[col]))
{buf[col] = FP_NAN; continue;}
Not sure what is FP_NAN is it seems to cause problems.
Markus
More information about the grass-user
mailing list