LANDSAT8 Atmospheric Correction Program LASRC is currently the best, the use of a fool enough, input file output results.
However, there is a limitation that the program needs to pre-download the MODIS auxiliary files to determine water vapor, pressure and other atmospheric parameters.
If the LANDSAT8 data for atmospheric correction is historical, then there is no problem, the supporting packages provided by the website are ready for the corresponding auxiliary data, which can be used directly.
LASRC Auxiliary Files
http://edclpdsftp.cr.usgs.gov/downloads/auxiliaries/lasrc_auxiliary/lasrc_aux.2013-2017.tar.gz
See git tag [lasrc-version_1.3.0]
The auxiliary packages that are downloaded hereasrc_aux.2013-2017.tar.gz有90G。。。教育网渣网速下载了整整一周。。。。
The question is: What about the newly acquired LANDSAT8 data?
It doesn't matter, this auxiliary data can be generated by itself, and the official also provides algorithms for generating auxiliary files using MODIS data.
Users can download the LANDSAT8 data from the Internet to obtain the relevant MODIS data of the day, and use the program to synthesize a LASRC required correction aid file.
The program is under the Espa-surface-reflectance-master\lasrc\c_version\src_pre_collection folder.
Now let's compile this under Windows:
Create a new VS2010 C + + Empty project and add the following files.
Include directory:
Combine_l8_data.h file Strings.h reference changed to String.h, remove S.
#include <libgen.h> comment out, no use.
Modify some syntax errors, or the differences between Linux and Windows programming, based on the error.
Compilation succeeded
In fact, the CMG and CMA data of MODIS can be pulled down by the name specification after they know the acquisition time, so the next step is to provide an automatic network download function, so that users can automatically adjust the latest LANDSAT8 data for atmospheric correction.
Usgs-eros Project Espa-surface-reflectance in LASRC version 1.3.0 module uses VS2010 to compile the use of WINDOWS64 bit versions (iii)