<div dir="ltr">Hi Vero,<br><div><br>On Wed, Nov 13, 2019 at 12:59 PM Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>> wrote:<br>><br>> Hi all,<br>><br>> I'm using i.atcorr for atmospheric correction of Pleiades imagery. The data comes as DN in 12 bits.</div><div><br></div><div>That is, values can be in the range 0, 4095, but the full possible range is not necessarily used.<br></div><div><br></div><div>> Reading the manual of i.atcorr, I get that I must provide radiance data. Hence I converted each band to radiance using gain and bias from the metadata. Now, for the range parameter in i.atcorr, I assume I must pass the min/max output of <a href="http://r.info">r.info</a> for each band. There's no extra info in the metadata about theoretical range for each band.<br></div><div><br></div><div>No, the range parameter in i.atcorr needs the theoretical range. For example for Landsat, values can be in the range 1, 255 (0 is reserved for nodata IIRC), but actual band values usually cover only a part of that range. Therefore min/max of a band is not correct.</div><div><br></div><div>Regarding Pleiades or other imagery, you need to get from documentation or metadata the valid range and use this as range for i.atcorr.</div><div><br></div><div>HTH,</div><div><br></div><div>Markus M<br></div><div><br></div><div>><br>> In the i.atcorr manual and in some older emails, I read for example, that the range for Sentinel 2 is 1 to 10000. However here [1] it says: "Per-pixel radiometric measurements are provided in Top Of Atmosphere (TOA) reflectances along with the parameters to transform them into radiances". AFAIU, 1,10000 is TOA range.<br>><br>> So, I'm a bit lost... What is really this range parameter representing?<br>><br>> Thanks much in advance<br>><br>> Vero<br>><br>> [1] <a href="https://earth.esa.int/web/sentinel/user-guides/sentinel-2-msi/product-types/level-1c">https://earth.esa.int/web/sentinel/user-guides/sentinel-2-msi/product-types/level-1c</a><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div></div>