<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">
<div class="gmail_default" style="font-family:verdana,sans-serif">Hello all</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I'm preparing a tutorial on remote sensing with GRASS (already have 7 videos - in portuguese - here: <a href="https://www.youtube.com/c/SPAMLabUSP" target="_blank">https://www.youtube.com/c/SPAMLabUSP</a>)</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">What
I'm planning now is to run i.landsat.toar and i.atcorr, and then
compare the results with the surface reflectance products from Landsat
collection 2.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I
got it all running but the results are a bit different and it seems
that the "range" and "rescale" options are the ones to tweak.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">checking the metadata:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div>L2 before scale factor: {'min': '3783', 'max': '65535'}<br>L2 after scale factor: {'min': '-0.0959675', 'max': '1.6022125'}<br><br>L1 radiance at sensor: {'min': '-6.2', 'max': '191.6'}<br><br>L1 reflectance dos1: {'min': '0', 'max': '0.398754597845553'}<br><br>L1 reflectance 6S: {'min': '8.560894e-11', 'max': '255'}</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I can use the min/max from radiance-at-sensor as the "range" in i.atcorr, but what would be best for the "rescale" option? If I don't set it, I end up with 0-255 <br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><div class="gmail_default" style="font-family:verdana,sans-serif">values. How to get the floating-point result?<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">thank you for any input</div>
</div><div><br></div><div><br></div><div><div style="font-family:verdana,sans-serif" class="gmail_default">Carlos</div><br></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204)" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div></div>