<div dir="ltr"><div><div><div><div><div>Hi Stefan<br><br></div>I tried with your data, and it works for me. <br><br></div>Check the output here: <a href="http://www.scientificpubs.com/data_share/s2a_b8_corr.tif.tar.gz">http://www.scientificpubs.com/data_share/s2a_b8_corr.tif.tar.gz</a></div><div><br></div>I am running it in Ubuntu 16.04, and GRASS latest trunk version, inside a EPSG:25833 location.<br><br></div>I will send you the other clipped data from my study area, shortly.<br></div><div><br></div><div>Regards</div><div><br></div><div>Sajid<br></div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 3:31 PM, Stefan Blumentrath <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="NO-BOK">
<div class="m_-3697995546818331423WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Forgot to mention, my test data is tiny (< 3MB)…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<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"> grass-user [mailto:<a href="mailto:grass-user-bounces@lists.osgeo.org" target="_blank">grass-user-bounces@<wbr>lists.osgeo.org</a>]
<b>On Behalf Of </b>Stefan Blumentrath<br>
<b>Sent:</b> tirsdag 19. desember 2017 15.24<br>
<b>To:</b> Sajid Pareeth <<a href="mailto:spareeth@gmail.com" target="_blank">spareeth@gmail.com</a>><br>
<b>Cc:</b> GRASS user list <<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [GRASS-user] i.atcorr with Sentinel2<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Dear Sajid,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Thanks so much for your reply and confirming that the module works in principle!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" 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?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" 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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Also, altering the terrain model from floating point with negative values to integer without negative values did not change
a thing…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">I still get only NULL pixels…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" 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:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">dem:
<a href="http://www.filedropper.com/dem_1" target="_blank">http://www.filedropper.com/<wbr>dem_1</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">S2 band 8:
<a href="http://www.filedropper.com/s2aoperprdmsil1cpdmc20160907t044118r008v20160905t10402220160905t104245b08" target="_blank">
http://www.filedropper.com/<wbr>s2aoperprdmsil1cpdmc20160907t0<wbr>44118r008v20160905t10402220160<wbr>905t104245b08</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">62 params:
<a href="http://www.filedropper.com/p6s" target="_blank">http://www.filedropper.com/p6s</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">I also have it on FTP and can share username and password offlist…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Stefan<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></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 href="mailto:spareeth@gmail.com" target="_blank">mailto:spareeth@gmail.com</a>]
<br>
<b>Sent:</b> tirsdag 19. desember 2017 12.51<br>
<b>To:</b> Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>><br>
<b>Cc:</b> Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>><wbr>; Žofie Cimburová <<a href="mailto:zoficimburova@gmail.com" target="_blank">zoficimburova@gmail.com</a>>; GRASS user list <<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: [GRASS-user] i.atcorr with Sentinel2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></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. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></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>
>> ------------------------------<wbr>----------<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)<u></u><u></u></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">Just noticed, the last parameter should be 167 for Sentinel B2.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal">Sajid<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>