<div dir="ltr"><div>Sorry, I missed one part of your email.</div><div><br></div><div>Of course, you can run it from the terminal, the manual page has proper examples: <a href="https://grass.osgeo.org/grass76/manuals/i.landsat.toar.html">https://grass.osgeo.org/grass76/manuals/i.landsat.toar.html</a></div><div>and you can also follow the examples in this presentation: <a href="https://gitpitch.com/veroandreo/grass-gis-conae/master?p=slides/04_imagery&grs=gitlab#/">https://gitpitch.com/veroandreo/grass-gis-conae/master?p=slides/04_imagery&grs=gitlab#/</a> (feedback is welcome, btw)</div><div><br></div><div>cheers,</div><div>Vero<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 14 jun. 2019 a las 13:06, Veronica Andreo (<<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Gabriel, <br></div><div><br></div><div>AFAIU, you have to put the basename only, i.e., only B if your files are named B1, B2, B3 and so forth</div><div><br></div><div>HTH,</div><div>Vero<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 14 jun. 2019 a las 11:01, Gabriel Cotlier (<<a href="mailto:gabiklm01@gmail.com" target="_blank">gabiklm01@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear grass users,<div><br><div>My question is regrading the preprocessing of Landsat 8 data. </div><div>I have LC08_L1TP, level 1 Landsat 8 data product loaded in grass project and want to perform the preprocessing of these data sets. </div><div>The procedure of turning DN to Radiance (radiometric calibration) by means of <i>i.landsat.toar </i>grass function, and thereafter turning obtained Radiance to Land Surface Reflectance (Atmospheric correction) by means of grass function <i>i.atcorr</i> to get final reflectance results by means different DOS methods to be further compared. </div><div><br></div><div>I enter the data band</div><div><div><img src="cid:ii_jww5fwv60" alt="image.png" width="461" height="472"><br></div></div><div>I entered the metadata</div><div><br></div><div><div><img src="cid:ii_jww5gg8r1" alt="image.png" style="margin-right: 0px;" width="656" height="564"><br></div></div><div><br></div><div>  I left these two following tabs as default settings </div></div><div><div><img src="cid:ii_jww5h90w2" alt="image.png" width="472" height="404"><br></div></div><div><br></div><div><div><img src="cid:ii_jww5hxex3" alt="image.png" width="472" height="397"><br></div></div><div><br></div><div>and got this error:</div><div><br></div><div>i.landsat.toar input=B4@PERMANENT output=B4_radiance metfile=C:\Users\Gabriel\Documents\grassdata\LC08_L1TP_227083_20180315_20180320_01_T1\LC08_L1TP_227083_20180315_20180320_01_T1_MTL.txt sensor=oli8 date=2018-03-15 sun_elevation=45.06637424 product_date=2018-03-20<br>WARNING: ESUN evaluated from REFLECTANCE_MAXIMUM_BAND<br>WARNING: Overwriting solar elevation of metadata file<br>Calculating...<br>ERROR: Unable to open header file for raster map <B4@PERMANENT1@><br>(Fri Jun 14 10:52:44 2019) Command finished (0 sec)  <br></div><div><br></div><div><div>I would like to load and run this process for many bands at once but the GUI for this functions do not permit to input more than one band at once. Could be this done more efficiently by command line? Any suggestion for this preprocessing by command line or either by python scrip ?  <br></div><div><br></div></div><div>Thanks a lot.</div><div>Gabriel</div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>
</blockquote></div>