TODO
- SNR: where to compute SNR for reflectance?
- where to store values for SNR and reflectance?
- neue Instanz von L1B erstellen oder L1B modifizieren?
TOArad2TOAref
Transforms TOA radiance to TOA reflectance
Input
- L1B data
- Solar irradiance spectrum
Output
- TOAreflectance (L1B overwritten data cubes)
- Log file / Error message?
Memory Budget
- < 2 MB
Necessary Functions
- Sun-earth distance (day, month, year)
- Spectral resampling (spectrum, SRFs, spectral smile)
Process Work Flow
- Calculate sun-earth distance
- Spectral resampling of solar spectrum for each image cokumn using valid SRFs and spectral smile.
- Transformation to TOA reflectance using sun-earth-distance, solar irradiance spectraum and solar zenith angle.
Testing
- Input L1B:
- Reference: