Description: This script allows to do atmospheric correction for list of images (or individual images) of Sentinel-2 and Landsat sensors, especifically for images over coastal or oceanic areas, using the GEE Python API in Jupyter Notebook. Some atmospheric correction settings can be modified in the parameters.py module to work with images over inland areas (See line 36 in that module). The script does AC automatically by providing the right satellite mission, list of image ID's, and a specific GEE Asset to export processed images to your personal GEE account.
More sensors can be added by modifying the mission_specifics.py and parameters.py modules to properly work with the available collections in GEE and Py6S.
Script modified from https://github.com/samsammurphy/gee-atmcorr-S2
By Luis Lizcano-Sandoval
College of Marine Science, University of South Florida
[email protected]
Created: 10/30/2020
Updated: 11/04/2022
!pip install -q condacolab
import condacolab
condacolab.install()
!pip install pyparsing==2.4.2
!earthengine authenticate
* Py6S
!conda install -c conda-forge py6s --yes