The Atmospheric and Radiometric Correction of Satellite Imagery (ARCSI) software was developed at Aberystwyth University, under contract from the Norwegian Space Centre and allows automatic correction of Landsat data to Top Of Atmosphere (TOA) or Surface Reflectance (SREF). The conversion to Surface Reflectance uses the 6S codes, accessed through the Py6S Python interface.
If you’re running OS X or Linux, you can get ARCSI through conda. For Windows users, unless you’re very familiar with compiling software from source it is recommended you set up a virtual machine with Linux to run ARCSI.
For the latest installation instructions see the software page.
Download and untar data
This tutorial uses Landsat 8 data (although ARCSI supports other sensors). If you don’t already have a Landsat 8 scene, you can download one from http://earthexplorer.usgs.gov/.
The data is downloaded as a tarred and compressed file. After you have downloaded a scene, create a directory for the scene and copy the tar.gz file to it. Untar the file using:
tar -xf LC80430342013291LGN00.tar.gz
There are a number of tiff files (one for each each band) and associated header information in the MTL file.
After you have downloaded and untared the data create a new directory to store the output files (I’m using one called ‘OutputImages’).
Conversion to Radiance
Landsat data are provided as digital number (DN) images, the first step is to calibrate to radiance, which is the amount of energy received by the sensor per second () per steradian () per square metre (). This is written as or for a given wavelength (in ). This can also be defined as “The power passing through a unit area in a unit solid angle about the normal to the area (per unit spectral interval)”.
For Landsat 8, a linear equation is used to convert from DN to radiance ():
The gain () and intercept () are different for each band and are provided in the Landsat header file.
To convert each band to radiance in ARCSI, and stack all bands together, the following command is used:
arcsi.py -s ls8 -f KEA --stats -p RAD -o ./OutputImages \ -i LC80430342013291LGN00/LC80430342013291LGN00_MTL.txt
Where ‘-o’ is the output directory and ‘-i’ the input header (MTL) file. Statistics and overviews (‘–stats’) are calculated for fast display.
Once this has run open the output file (ending in ‘_rad.kea’) in TuiView.
Top of Atmosphere Reflectance
When spectral radiance values are compared within and between sensors, variations frequently occur because of different sun-target-sensor configurations. Hence, these data are often converted to Top of Atmosphere (TOA) or planetary reflectance or at sensor reflectance as this eliminates the effect of different solar zenith angles at the time of image acquisition, minimises the solar irradiance band differences occurring between different sensors accounts for differences in the Earth-Sun distance. Conversion to TOA reflectance is achieved using:
where is the wavelength, is the spectral (planetary or TOA) reflectance for wavelength , is the spectral radiance, is the Earth-Sun distance (in astronomical units), is the mean solar exoatmospheric irradiance and is the solar zenith angle.
TOA reflectance does not take into account any atmospheric effects and is simply a ratio of the at-sensor radiance with the incoming radiance from the sun, where the distance and angle of the sensor to the target are considered. The approach is easy to apply, as no external information is required.
To calibrate Landsat 8 data to TOA reflectance in ARCSI the following command is used:
arcsi.py -s ls8 -f KEA --stats -p RAD TOA -o ./OutputImages \ -i LC80430342013291LGN00/LC80430342013291LGN00_MTL.txt
Once this has run, open the output file (ending in ‘_toa.kea’) in TuiView and compare with the radiance image (in a separate window). Note the output reflectance, which has values 0 – 1, is multiplied by a scaling factor of 1000 so the results can be stored as a 16 bit integer.
To get to surface reflectance, an atmospheric model can be used to account for the effects of scattering and absorption in the atmosphere. Within ARCSI the 6S radiative transfer model is used. A number of parameters are required for 6S:
- Atmospheric Profile
- Aerosol Profile + Aerosol Optical Depth (AOD)
- Ground Reflectance
Many of these parameters are calculated within ARCSI or derived from the header file (e.g., geometry, altitude and wavelength). There are a number of preset options for atmospheric profile, aerosol profile and and ground reflectance in ARCSI, to show all available options type:
As an example we’ll run using the standard input parameters:
arcsi.py -s ls8 -f KEA --stats -p RAD SREF --aeropro Maritime \ --atmospro MidlatitudeSummer --aot 0.25 -o ./OutputImages \ -i LC80430342013291LGN00/LC80430342013291LGN00_MTL.txt
This will take a bit longer to run through. Once it’s finished open the top of atmosphere and surface reflectance images in linked TuiView displays and compare the profiles.
- Try changing the values of AOT (–aot) between 0 and 1, remembering to create separate output directories and observe the changes in reflectance over the range of wavelengths.
- You can investigate the different settings available in 6S, without applying to an image through Py6S, the quick start guide is a good place to start.
Getting help with ARCSI
The documentation for ARCSI is available at http://rsgislib.org/arcsi/
If you have any questions about ARCSI which are not covered by the documentation the RSGISLib mailing list on Google Groups is used for ARCSI support (email@example.com). Note you need to be a member of the group to post.
This post was adapted from notes for a module taught as part of the Masters course in GIS and Remote Sensing at Aberystwyth University, you can read more about the program here.