Each detector on the Hyperion platform has its own set of band center wavelengths and full width half maximums. For example, Band 20 in the first detector has a center wavelength value of 548.900 nanometers, while the same band in the second detector has a value of 548.920. They are slightly offset from one another. It is the same situation for every band in every detector in the array. This makes comparing collected spectra across detectors difficult since the band centers are not the same. The interpolation process:
- looks for the smallest reported central wavelength value for a particular band across all detectors and sets this as the new output central value for that band across all detectors
- for an individual detector, it looks for the band with the closest central value that is still smaller than the output central value, then looks for the band with the closest central value that is still larger than the output central value.
- for every pixel that is tied to the current detector, it retrieves the radiance values for the two selected bands, fits them to a linear equation using LINFIT, then extrapolates based on the derived slope and offset what an appropriate radiance value would be at the output central value location (which sits between the two endpoints of the line).
- the extrapolated values are then written to the new output file
|