Skip to content

module atmosCorr


class atmosCorr

Atmospheric Correction in Optical domain

method __init__

1
__init__(path, nodata=-99999)

Parameter:

path: String. The folder in which the satellite bands are located. This images could be Landsat Collection 2 Level-1. For example: path = r'/folder/image/raster'.

nodata: The NoData value to replace with -99999.


method DOS

1
DOS(sat='LC08', mindn=None)

The Dark Object Subtraction Method was proposed by Chavez (1988). This image-based atmospheric correction method considers absolutely critical and valid the existence of a dark object in the scene, which is used in the selection of a minimum value in the haze correction. The most valid dark objects in this kind of correction are areas totally shaded or otherwise areas representing dark water bodies.

Parameters:

  • sat: Type of Satellite. It could be Landsat-5 TM, Landsat-8 OLI or Landsat-9 OLI-2.

  • mindn: Min of digital number for each band in a list.

Return: An array with Surface Reflectance values with 3d, i.e. (rows, cols, bands).

References:

Chavez, P.S. (1988). An Improved Dark-Object Subtraction Technique for Atmospheric Scattering Correction of Multispectral Data. Remote Sensing of Envrironment, 24(3), 459-479.


method RAD

1
RAD(sat='LC08')

Conversion to TOA Radiance. Landsat Level-1 data can be converted to TOA spectral radiance using the radiance rescaling factors in the MTL file:

Lλ = MLQcal + AL

where:

Lλ = TOA spectral radiance (Watts/(m2sradμm)) ML = Band-specific multiplicative rescaling factor from the metadata (RADIANCE_MULT_BAND_x, where x is the band number) AL = Band-specific additive rescaling factor from the metadata (RADIANCE_ADD_BAND_x, where x is the band number) Qcal = Quantized and calibrated standard product pixel values (DN)

Parameters:

  • sat: Type of Satellite. It could be Landsat-5 TM, Landsat-8 OLI or Landsat-9 OLI-2.

Return: An array with radiance values with 3d, i.e. (rows, cols, bands).


method TOA

1
TOA(sat='LC08')

A reduction in scene-to-scene variability can be achieved by converting the at-sensor spectral radiance to exoatmospheric TOA reflectance, also known as in-band planetary albedo.

Equation to obtain TOA reflectance:

ρλ′ = Mρ*DN + Aρ

ρλ = ρλ′/sin(theta)

Parameters:

  • sat: Type of Satellite. It could be Landsat-5 TM, Landsat-8 OLI or Landsat-9 OLI-2.

Return: An array with TOA values with 3d, i.e. (rows, cols, bands).


This file was automatically generated via lazydocs.