enpt.processors.radiometric_transform package

Submodules

enpt.processors.radiometric_transform.radiometric_transform module

EnPT ‘radiometric transform’ module.

Contained Transformations:
  • TOA radiance to TOA reflectance

class enpt.processors.radiometric_transform.radiometric_transform.Radiometric_Transformer(config: Optional[EnPTConfig] = None)[source]

Bases: object

Class for performing all kinds of radiometric transformations of EnMAP images.

Create an instance of Radiometric_Transformer.

Parameters

config – EnPT configuration object

transform_TOARad2TOARef(enmap_ImageL1: EnMAPL1Product_SensorGeo)[source]

Transform top-of-atmosphere radiance to top-of-atmosphere reflectance (16-bit signed-integer).

NOTE: The following formula is used:
toaRef = (scale_factor * math.pi * toaRad * earthSunDist**2) /

(solIrr * math.cos(zenithAngleDeg))

Parameters

enmap_ImageL1 – instance of the class ‘EnMAPL1Product_ImGeo’

Returns

Module contents

EnPT ‘radiometric transform’ module containing eveything related to radiometric transformations.

class enpt.processors.radiometric_transform.Radiometric_Transformer(config: Optional[EnPTConfig] = None)[source]

Bases: object

Class for performing all kinds of radiometric transformations of EnMAP images.

Create an instance of Radiometric_Transformer.

Parameters

config – EnPT configuration object

transform_TOARad2TOARef(enmap_ImageL1: EnMAPL1Product_SensorGeo)[source]

Transform top-of-atmosphere radiance to top-of-atmosphere reflectance (16-bit signed-integer).

NOTE: The following formula is used:
toaRef = (scale_factor * math.pi * toaRad * earthSunDist**2) /

(solIrr * math.cos(zenithAngleDeg))

Parameters

enmap_ImageL1 – instance of the class ‘EnMAPL1Product_ImGeo’

Returns