Correct for 20px shift between VNIR and SWIR before passing TOA radiance to SICOR.
VNIR and SWIR do not match geometrically but have an along-track shift of 20px and an across-track shift of ~1px depending on the geographic position. This has to be corrected before passing the TOA radiance to SICOR AC. Otherwise SICOR will applies the retrieved atmospheric parameters (retrieved in SWIR) to the wrong VNIR pixels.
The shift is included in the RPC-coefficients, so we need to:
- determine the along-/across-track shift between VNIR and SWIR based on the RPC-coefficients
- crop the VNIR and SWIR data in sensor geometry so that the spatial shift is corrected (avoid resampling)
- respect along-/across-track shift in the geolayers used in downstream products