[GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread maning sambale
Hi, I'm getting segmentation fault using i.atcorr on a LANDSAT TM data. I subsetted the image to test in a small region. projection: 1 (UTM) zone: 51 datum: wgs84 ellipsoid: wgs84 north: 646722 south: 641763 west: 744135 east: 749436 nsres: 28.5 ewres:

Re: [GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread Markus Neteler
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

Re: [GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread Glynn Clements
Markus Neteler wrote: 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

Re: [GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread Markus Neteler
On Tue, Jun 3, 2008 at 10:00 PM, Glynn Clements [EMAIL PROTECTED] wrote: ... 2. that's line 304 (of main.cpp): if(isnan(vis[col]) || isnan(alt[col]) || isnan(buf[col])) {buf[col] = FP_NAN; continue;} Contrary to what the author probably assumed, FP_NAN isn't NaN. It's the value

Re: [GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread maning sambale
Markus and Glynn, I have submitted that as it now no longer crashes. Great! But it's (for me) either extremely slow (remaining at 0%) or endless looping. Maning, does it now work for you (hope you can update from SVN)? Shucks, don't know installing via SVN yet. Still struggling to use GEM