Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-12-15 Thread Yann Chemin
Hey Markus, my attempts have been umsuccessful so far, but i cannot yet say if it is my fault or the module... i have not a good grasp on my dataset yet. will work on it this week end. cheers, yann On Dec 15, 2016 11:26 PM, "Markus Neteler" wrote: > Hi Yann, > > On Mon, Nov 28, 2016 at 7:34 PM

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-12-15 Thread Markus Neteler
Hi Yann, On Mon, Nov 28, 2016 at 7:34 PM, Markus Neteler wrote: ... > ... the first column got messed up in the reformatting > of the CSV file. Fixed in SVN in r69943 (trunk), r69942 (7.2), r69941 > (7.0). ... > I have updated the iwave.cpp code accordingly in all 7 branches and trunk. > > Yann,

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-28 Thread Markus Neteler
On Mon, Nov 28, 2016 at 3:55 PM, Nikos Alexandris wrote: ... > Nikos: >> Back in August, I thoroughly checked running the (modified) python script >> against each and every sensor's spectral response data (in form of CSVs) >> we have in our repo. >> >> I'll give it a quick check -- I can only work

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-28 Thread Nikos Alexandris
.. Yann: Also I believe the "less than 0.25" thing comes from either (or both) of these: static const float wli[5] = {0.001, 0.001, 0.001, 0.001, 0.001}; static const float wls[5] = {0.161, 0.161, 0.161, 0.161, 0.161}; line 2942 in iwave.cpp Nikos: Back in August, I thoroughly checked

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-28 Thread Nikos Alexandris
* Yann [2016-11-27 20:12:38 +0100]: On 27/11/2016 20:06, Markus Neteler wrote: On Sun, Nov 27, 2016 at 7:47 PM, Yann wrote: trying to run i.atcorr on an image of Colombo. i.atcorr --overwrite input=radxs.1 parameters=6s_b1.txt output=refxs.1 ... Segmentation fault (core dumped) I loo

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-27 Thread Yann
It seems there is a bug in either the python file or the csv file. python create_iwave.py sensors_csv/quickbird2.csv > Getting sensor name from csv file: quickbird2 > Number of bands found: 5 Traceback (most recent call last): File "create_iwave.py", line 284, in main() File

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-27 Thread Yann
On 27/11/2016 20:06, Markus Neteler wrote: On Sun, Nov 27, 2016 at 7:47 PM, Yann wrote: trying to run i.atcorr on an image of Colombo. i.atcorr --overwrite input=radxs.1 parameters=6s_b1.txt output=refxs.1 ... Segmentation fault (core dumped) I looked into the iwave.cpp, it seems OK. What

Re: [GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-27 Thread Markus Neteler
On Sun, Nov 27, 2016 at 7:47 PM, Yann wrote: > trying to run i.atcorr on an image of Colombo. > > i.atcorr --overwrite input=radxs.1 parameters=6s_b1.txt output=refxs.1 ... > Segmentation fault (core dumped) > > I looked into the iwave.cpp, it seems OK. What is the wavelength being less > than 0.

[GRASS-dev] seg fault of i.atcorr on quickbird

2016-11-27 Thread Yann
Hi, trying to run i.atcorr on an image of Colombo. i.atcorr --overwrite input=radxs.1 parameters=6s_b1.txt output=refxs.1 param file: 17 - geometrical conditions=Quickbird 2 16 5.40 79.860 6.920 - month day hh.ddd longitude latitude ("hh.ddd" is in decimal hour