satpy.composites.spectral module
Composite classes for spectral adjustments.
- class satpy.composites.spectral.GreenCorrector(*args, fractions=(0.85, 0.15), **kwargs)[source]
Bases:
GenericCompositor
Corrector of the FCI or AHI green band.
The green band in FCI and AHI deliberately misses the chlorophyll peak in order to focus on aerosol and ash rather than on vegetation. This affects true colour RGBs, because vegetation looks brown rather than green. To make vegetation look greener again, this corrector allows to simulate the green band as a fraction of two or more other channels.
To be used, the composite takes two or more input channels and a parameter
fractions
that should be a list of floats with the same length as the number of channels.For example, to simulate an FCI corrected green composite, one could use a combination of 93% from the green band (vis_05) and 7% from the near-infrared 0.8 µm band (vis_08):
corrected_green: compositor: !!python/name:satpy.composites.ahi.GreenCorrector fractions: [0.93, 0.07] prerequisites: - name: vis_05 modifiers: [sunz_corrected, rayleigh_corrected] - name: vis_08 modifiers: [sunz_corrected, rayleigh_corrected] standard_name: toa_bidirectional_reflectance
Other examples can be found in the
fci.yaml
andahi.yaml
composite files in the satpy distribution.Set default keyword argument values.