<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
Dear Stefan:<br>
I also tried your data, and failed. Any values for the geom (first
line in the 6S parameters) above 24 cause this error:<br>
<br>
<tt>GRASS 7.2.2 (SB):~/work/tmp/Blumentrath > g.version</tt><tt><br>
</tt><tt>GRASS 7.2.2 (2017)</tt><tt><br>
</tt><tt>GRASS 7.2.2 (SB):~/work/tmp/Blumentrath > cat p6s.txt </tt><tt><br>
</tt><tt>25 # originally 25</tt><tt><br>
</tt><tt>9 5 10.6728 10.73413 59.90647</tt><tt><br>
</tt><tt>4</tt><tt><br>
</tt><tt>3</tt><tt><br>
</tt><tt>50</tt><tt><br>
</tt><tt>-0.055</tt><tt><br>
</tt><tt>-1000</tt><tt><br>
</tt><tt>165 # original 173</tt><tt><br>
</tt><tt>GRASS 7.2.2 (SB):~/work/tmp/Blumentrath > i.atcorr --v
-r --o input=S2A.B08 elev=dem output=test_atcorr param=p6s.txt
range=1,10000 rescale=1,10000</tt><tt><br>
</tt><tt>ERROR: Unsupported/unreadable format in control file (found
igeom=25)</tt><tt><br>
</tt><tt></tt><br>
If I put the igeom value at 24, and value for the wavelengthis above
164 (WV3 in the i.atcorr manpage) then the module segfaults.<br>
??<br>
<br>
Do I need a newer GRASS?<br>
<br>
Best,<br>
Micha<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/19/2017 04:24 PM, Stefan
Blumentrath wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ac472c2983f647f8a50ebf8e243a38ed@NINSRV23.nina.no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Dear Sajid,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Thanks so much for your reply and confirming
that the module works in principle!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Would you be able to provide me with the 1000 X
1000 clip of your data, so I can check if it is my
installation?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">I tried also two different boxes and GRASS
versions (Ubunut 14.04 with GRASS 7.3 and 7.4 compiled from
source and Ubuntu 16.04 with GRASS 7.4 from UbuntuGIS) and
none of it worked.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Also, altering the terrain model from floating
point with negative values to integer without negative
values did not change a thing…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">I still get only NULL pixels…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">In case someone would be willing to test my
data (which I would be very grateful for), you can get it
directly here:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">dem:
<a class="moz-txt-link-freetext" href="http://www.filedropper.com/dem_1">http://www.filedropper.com/dem_1</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">S2 band 8:
<a class="moz-txt-link-freetext" href="http://www.filedropper.com/s2aoperprdmsil1cpdmc20160907t044118r008v20160905t10402220160905t104245b08">http://www.filedropper.com/s2aoperprdmsil1cpdmc20160907t044118r008v20160905t10402220160905t104245b08</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">62 params:
<a href="http://www.filedropper.com/p6s"
moz-do-not-send="true">http://www.filedropper.com/p6s</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">I also have it on FTP and can share username
and password offlist…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
lang="EN-GB">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> Sajid Pareeth [<a class="moz-txt-link-freetext" href="mailto:spareeth@gmail.com">mailto:spareeth@gmail.com</a>]
<br>
<b>Sent:</b> tirsdag 19. desember 2017 12.51<br>
<b>To:</b> Stefan Blumentrath
<a class="moz-txt-link-rfc2396E" href="mailto:Stefan.Blumentrath@nina.no"><Stefan.Blumentrath@nina.no></a><br>
<b>Cc:</b> Moritz Lennert
<a class="moz-txt-link-rfc2396E" href="mailto:mlennert@club.worldonline.be"><mlennert@club.worldonline.be></a>; Žofie Cimburová
<a class="moz-txt-link-rfc2396E" href="mailto:zoficimburova@gmail.com"><zoficimburova@gmail.com></a>; GRASS user list
<a class="moz-txt-link-rfc2396E" href="mailto:grass-user@lists.osgeo.org"><grass-user@lists.osgeo.org></a><br>
<b>Subject:</b> Re: [GRASS-user] i.atcorr with Sentinel2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">To add, I have used
the input as such with out applying the quantification
value. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC
1.0pt;padding:0cm 0cm 0cm
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid
#CCCCCC 1.0pt;padding:0cm 0cm 0cm
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">>><br>
>>
----------------------------------------<br>
>> 6s file:<br>
>> 25- geometrical
conditions=Sentinel-2A<br>
>> 9 5 10.6728 10.73413
59.90647- month day hh.ddd longitude
latitude<br>
>> 4 - atmospheric
model=subarctic summer<br>
>> 3- aerosol
model=urban<br>
>> 50- visibility [km]
(aerosol model concentration) (this is<br>
>> estimated, I also
tried with AOD specified)<br>
>> -0.055- mean target
elevation above sea level [km]<br>
>> -1000- sensor height<br>
>> 166- Sentinel2A Blue
band B2 (440nm - 535nm)<o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">Just noticed, the
last parameter should be 167 for Sentinel B2.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">Sajid<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>