A solar distance parameters has been added to the Optical calibration application in order to be used in the underlying filters.
See issue #1808 .
The solar distance parameter can be used, if selected, to compute the filtered images in :
Tests have been added to the CMakeLists.txt to cover the four cases of filter described above.
An example of python script for computing the earth/sun distance can be found here.
The copyright owner is CS Systèmes d'Information and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: