Ikonos MS4 product: SolarIllumination parameter should have the same size as the number of bands

Dear all,
I am processing an optical calibration on an Ikonos image, but it seems there is an issue reading the metadata.
It seems the image and related files are opened and read well except for the solar illumination.

Any thoughts or suggestions are very much appreciated.

Here below the logs

    otbcli_OpticalCalibration -in /home/working_folder/po_1451961_0000000/po_1451961_bgrn_0000000.tif -level toa -out /home/processed_data/OptiCali_Ikonos_OSA_MS4_GE_20140125.tif float -ram 16000
    [2021-04-19 16:53:34,793] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Found attached file : /home/working_folder/po_1451961_0000000/po_1451961_bgrn_0000000_rpc.txt
    [2021-04-19 16:53:34,793] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO): Loading kwl metadata from official product in file /home/working_folder/po_1451961_0000000/po_1451961_bgrn_0000000.tif
    [2021-04-19 16:53:34,794] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
    [2021-04-19 16:53:34,794] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86,  * Input Origin: [527578, 4.92345e+06]
    [2021-04-19 16:53:34,794] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87,  * Input Spacing: [0.8, -0.8]
    [2021-04-19 16:53:34,794] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88,  * Input keyword list: Full
    [2021-04-19 16:53:34,794] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89,  * Input projection: PROJCS["WGS 84 / UTM zone 32N",
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     GEOGCS["WGS 84",
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -         DATUM["WGS_1984",
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -             SPHEROID["WGS 84",6378137,298.257223563,
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -                 AUTHORITY["EPSG","7030"]],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -             AUTHORITY["EPSG","6326"]],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -         PRIMEM["Greenwich",0,
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -             AUTHORITY["EPSG","8901"]],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -         UNIT["degree",0.0174532925199433,
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -             AUTHORITY["EPSG","9122"]],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -         AUTHORITY["EPSG","4326"]],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     PROJECTION["Transverse_Mercator"],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     PARAMETER["latitude_of_origin",0],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     PARAMETER["central_meridian",9],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     PARAMETER["scale_factor",0.9996],
    [2021-04-19 16:53:34,794] {bash.py:173} INFO -     PARAMETER["false_easting",500000],
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     PARAMETER["false_northing",0],
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     UNIT["metre",1,
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -         AUTHORITY["EPSG","9001"]],
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     AXIS["Easting",EAST],
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     AXIS["Northing",NORTH],
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     AUTHORITY["EPSG","32632"]]
    [2021-04-19 16:53:34,795] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90,  * Output keyword list: Empty
    [2021-04-19 16:53:34,795] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91,  * Output projection:
    [2021-04-19 16:53:34,795] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92,  * Output Origin: [0, 0]
    [2021-04-19 16:53:34,795] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93,  * Output Spacing: [1, 1]
    [2021-04-19 16:53:34,795] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x11b8950)
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   RTTI typeinfo:   otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   Reference Count: 3
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   Modified Time: 394
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   Debug: Off
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   Object Name:
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -   Observers:
    [2021-04-19 16:53:34,795] {bash.py:173} INFO -     none
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -   Source: PROJCS["WGS 84 / UTM zone 32N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32632"]], Target: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86,  * Input Origin: [527578, 4.92345e+06]
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87,  * Input Spacing: [0.8, -0.8]
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88,  * Input keyword list: Full
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89,  * Input projection: PROJCS["WGS 84 / UTM zone 32N",
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     GEOGCS["WGS 84",
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -         DATUM["WGS_1984",
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -             SPHEROID["WGS 84",6378137,298.257223563,
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -                 AUTHORITY["EPSG","7030"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -             AUTHORITY["EPSG","6326"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -         PRIMEM["Greenwich",0,
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -             AUTHORITY["EPSG","8901"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -         UNIT["degree",0.0174532925199433,
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -             AUTHORITY["EPSG","9122"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -         AUTHORITY["EPSG","4326"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PROJECTION["Transverse_Mercator"],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PARAMETER["latitude_of_origin",0],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PARAMETER["central_meridian",9],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PARAMETER["scale_factor",0.9996],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PARAMETER["false_easting",500000],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     PARAMETER["false_northing",0],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     UNIT["metre",1,
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -         AUTHORITY["EPSG","9001"]],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     AXIS["Easting",EAST],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     AXIS["Northing",NORTH],
    [2021-04-19 16:53:34,796] {bash.py:173} INFO -     AUTHORITY["EPSG","32632"]]
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90,  * Output keyword list: Empty
    [2021-04-19 16:53:34,796] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91,  * Output projection:
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92,  * Output Origin: [0, 0]
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93,  * Output Spacing: [1, 1]
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x11b8950)
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   RTTI typeinfo:   otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Reference Count: 3
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Modified Time: 404
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Debug: Off
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Object Name:
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Observers:
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -     none
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -   Source: PROJCS["WGS 84 / UTM zone 32N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32632"]], Target: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86,  * Input Origin: [527578, 4.92345e+06]
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87,  * Input Spacing: [0.8, -0.8]
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88,  * Input keyword list: Full
    [2021-04-19 16:53:34,797] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89,  * Input projection: PROJCS["WGS 84 / UTM zone 32N",
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -     GEOGCS["WGS 84",
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -         DATUM["WGS_1984",
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -             SPHEROID["WGS 84",6378137,298.257223563,
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -                 AUTHORITY["EPSG","7030"]],
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -             AUTHORITY["EPSG","6326"]],
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -         PRIMEM["Greenwich",0,
    [2021-04-19 16:53:34,797] {bash.py:173} INFO -             AUTHORITY["EPSG","8901"]],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -         UNIT["degree",0.0174532925199433,
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -             AUTHORITY["EPSG","9122"]],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -         AUTHORITY["EPSG","4326"]],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PROJECTION["Transverse_Mercator"],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PARAMETER["latitude_of_origin",0],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PARAMETER["central_meridian",9],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PARAMETER["scale_factor",0.9996],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PARAMETER["false_easting",500000],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     PARAMETER["false_northing",0],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     UNIT["metre",1,
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -         AUTHORITY["EPSG","9001"]],
    [2021-04-19 16:53:34,798] {bash.py:173} INFO -     AXIS["Easting",EAST],
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -     AXIS["Northing",NORTH],
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -     AUTHORITY["EPSG","32632"]]
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90,  * Output keyword list: Empty
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91,  * Output projection:
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92,  * Output Origin: [0, 0]
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93,  * Output Spacing: [1, 1]
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x11b8950)
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   RTTI typeinfo:   otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Reference Count: 3
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Modified Time: 414
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Debug: Off
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Object Name:
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Observers:
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -     none
    [2021-04-19 16:53:34,799] {bash.py:173} INFO -   Source: PROJCS["WGS 84 / UTM zone 32N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32632"]], Target: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration:
    [2021-04-19 16:53:34,799] {bash.py:173} INFO - File: /home/working_folder/po_1451961_0000000/po_1451961_bgrn_0000000.tif
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - Sensor detected: IKONOS-2
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - Parameters extract from input image:
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Day: 25
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Month: 1
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Year: 2014
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Sun Elevation Angle: 25.3655
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Sun Azimuth Angle: 163.88
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Viewing Elevation Angle: 53.3349
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition Viewing Azimuth Angle: 347.711
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition gain (per band): 5.19064 6.44122 6.24442 8.04222
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Acquisition bias (per band): 0 0 0 0
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 	Solar Irradiance (per band): 8.73496e-317
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration: Default RAM limit for OTB is 256 MB
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration: GDAL maximum cache size is 782 MB
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration: OTB will use at most 8 threads
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration: Compute Top of Atmosphere reflectance
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO) OpticalCalibration: Clamp values between [0, 100]
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectExtractImageFilter (0x10fa5f0)
    [2021-04-19 16:53:34,800] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectClampImageFilter (0x10ed290)
    [2021-04-19 16:53:34,801] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectMultiplyImageFilter (0x13bff10)
    [2021-04-19 16:53:34,801] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectRadianceToReflectanceImageFilter (0x11cdf70)
    [2021-04-19 16:53:34,801] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectImageToRadianceImageFilter (0x13ce460)
    [2021-04-19 16:53:34,801] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Recursive evaluation of memory print for ProcessObjectImageFileReader (0x1033e10)
    [2021-04-19 16:53:34,801] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x103abe0)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x13ce280)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x13cf110)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject SimpleDataObjectDecorator (0x1113e40)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x11142d0)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x10fa230)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x10ee3c0)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): Evaluation of memory print for DataObject VectorImage (0x10ee3c0)
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO): Estimated memory for full processing: 35164.3MB (avail.: 16000 MB), optimal image partitioning: 3 blocks
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (INFO): File /home/processed_data/OptiCali_Ikonos_OSA_MS4_GE_20140125.tif will be written in 4 blocks of 15456x4224 pixels
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:34 (DEBUG): GDAL reads [0, 15455]x[0, 4223] x 4 bands of type UInt16 from file /home/working_folder/po_1451961_0000000/po_1451961_bgrn_0000000.tif
    [2021-04-19 16:53:36,487] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): GDAL read took 781 ms
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 186, Dimension:
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 187, m_Alpha.GetSize(): 4
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 188, m_Beta.GetSize() : 4
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 189, this->GetInput()->GetNumberOfComponentsPerPixel() : 4
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 196, Using correction parameters:
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 197, Alpha (gain): [5.19064, 6.44122, 6.24442, 8.04222]
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:35 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbImageToRadianceImageFilter.h, line 198, Beta (bias):  [0, 0, 0, 0]
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h, line 286, Using correction parameters:
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h, line 287, Day:               25
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h, line 288, Month:             1
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h, line 289, Solar irradiance:  [8.77567e-317]
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG): file ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h, line 290, Zenithal angle:    64.6345
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG) OpticalCalibration: Caught itk::ExceptionObject during application execution:
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (DEBUG) OpticalCalibration: ../Modules/Radiometry/OpticalCalibration/include/otbRadianceToReflectanceImageFilter.h:294:
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - itk::ERROR: RadianceToReflectanceImageFilter(0x11cdf70): SolarIllumination parameter should have the same size as the number of bands
    [2021-04-19 16:53:36,488] {bash.py:173} INFO - 2021-04-19 16:53:36 (FATAL) OpticalCalibration: itk::ERROR: RadianceToReflectanceImageFilter(0x11cdf70): SolarIllumination parameter should have the same size as the number of bands
    [2021-04-19 16:53:36,517] {bash.py:173} INFO - + '[' 1 -eq 0 ']'
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + exit 4
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + cleanExit
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + local retval=4
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + local msg=
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + case ${retval} in
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + msg='Orfeo Toolbox did not finish succesfully'
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + '[' 4 -ne 0 ']'
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + echo 'Error 4 - Orfeo Toolbox did not finish succesfully, processing aborted '
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - Error 4 - Orfeo Toolbox did not finish succesfully, processing aborted
    [2021-04-19 16:53:36,518] {bash.py:173} INFO - + exit 4
    [2021-04-19 16:53:36,518] {bash.py:177} INFO - Command exited with return code 4
    [2021-04-19 16:53:36,525] {taskinstance.py:1455} ERROR - Bash command failed. The command returned a non-zero exit code.

Hello,

the Ikonos metadata reader expects one band products, even for MS products (one tif per band). For example this is a layout of a “bundle” Ikonos product supported by OTB:

company_agency_license.txt
po_79039_grn_0000000.hdr
po_79039_nir_0000000.tfw
si_logo_tag.jpg
po_79039_blu_0000000.hdr
po_79039_grn_0000000.tfw
po_79039_nir_0000000.tif
po_79039_red_0000000.hdr
po_79039_blu_0000000.tfw
po_79039_grn_0000000.tif
po_79039_pan_0000000.hdr
po_79039_red_0000000.tfw
po_79039_blu_0000000.tif
po_79039_metadata.txt
po_79039_pan_0000000.tfw
po_79039_red_0000000.tif
po_79039_nir_0000000.hdr
po_79039_pan_0000000.tif
rights.txt

It looks like GeoEye also deliver products as a 4 band multispectral tiff, but these products are not supported by OTB, and as OTB relies on a third party library (Ossim) to read Ikonos metadata, there is not much we can do about it. In your case, I think the only solution is to provide the parameters to OpticalCalibration by hand.

Note: in the future (version 8.0), OTB will rely on GDAL to parse Ikonos metadata (via the GE mdreader), maybe this reader supports 4bands Ikonos products, but this needs to be tested.

Cédric