Dear all,
I am processing an optical calibration on an SPOT6 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 acqui.gainbias.
Spot 6 should be accepted for optical calibration application.
Any thoughts or suggestions are very much appreciated, maybe the folder is not complete or the level of pre-processing is not correct?
Here below the logs
[2021-05-04 17:03:49,796] {bash.py:173} INFO - + tar -C /home/working_folder -xvf /home/mission_data/SP06_NAO_PMS_2A_20161223T151101_20161223T151114_TOU_1234_64fa.DIMA.tar
[2021-05-04 17:03:49,798] {bash.py:173} INFO - CQC_SpotImage_SP06_NAOMI_PQR_20180607161016_824_DS_SPOT6_201612231511020_FR1_FR1_SE1_SE1_W074N164fa_V1.xml
[2021-05-04 17:03:49,799] {bash.py:173} INFO - CQC_SpotImage_SP06_NAOMI_PQR_20180607161016_824_DS_SPOT6_201612231511020_FR1_FR1_SE1_SE1_W074N164fa_V1_MD.xml
[2021-05-04 17:03:49,799] {bash.py:173} INFO - DELIVERY.PDF
[2021-05-04 17:03:49,800] {bash.py:173} INFO - INDEX.HTM
[2021-05-04 17:03:49,800] {bash.py:173} INFO - LIBRARY/
[2021-05-04 17:03:49,800] {bash.py:173} INFO - LIBRARY/DS_LOGO.JPG
[2021-05-04 17:03:49,801] {bash.py:173} INFO - LIBRARY/DS_STYLE.XSL
[2021-05-04 17:03:49,801] {bash.py:173} INFO - LICENSE.PDF
[2021-05-04 17:03:49,801] {bash.py:173} INFO - PROD_SPOT6_001/
[2021-05-04 17:03:49,801] {bash.py:173} INFO - PROD_SPOT6_001/INDEX.HTM
[2021-05-04 17:03:49,801] {bash.py:173} INFO - PROD_SPOT6_001/LIBRARY/
[2021-05-04 17:03:49,801] {bash.py:173} INFO - PROD_SPOT6_001/LIBRARY/PROD_LOGO.JPG
[2021-05-04 17:03:49,802] {bash.py:173} INFO - PROD_SPOT6_001/LIBRARY/PROD_STYLE.XSL
[2021-05-04 17:03:49,802] {bash.py:173} INFO - PROD_SPOT6_001/SPOT_PROD.XML
[2021-05-04 17:03:49,802] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/
[2021-05-04 17:03:49,802] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/
[2021-05-04 17:03:49,802] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/DIM_SPOT6_PMS_201612231511020_PRJ_3040738101.XML
[2021-05-04 17:03:49,803] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/ICON_SPOT6_PMS_201612231511020_PRJ_3040738101.JPG
[2021-05-04 17:03:49,803] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.J2W
[2021-05-04 17:03:49,803] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2
[2021-05-04 17:03:49,954] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/INDEX.HTM
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LIBRARY/
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LIBRARY/LOGO.JPG
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LIBRARY/STYLE.XSL
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LINEAGE/
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LINEAGE/GROUND_R3D_OR_N18W074_DIM.XML
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LINEAGE/GROUND_R3D_OR_N18W075_DIM.XML
[2021-05-04 17:03:49,955] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LINEAGE/PROCESSING_SPOT6_PMS_201612231511020_PRJ_3040738101_DIM.XML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/LINEAGE/STRIP_DS_SPOT6_201612231511020_FR1_FR1_SE1_SE1_W074N18_02521_DIM.XML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/CLD_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/DET_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/DTM_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/QTE_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/ROI_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/SLT_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/MASKS/SNW_SPOT6_PMS_201612231511020_PRJ_3040738101_MSK.GML
[2021-05-04 17:03:49,956] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/PREVIEW_SPOT6_PMS_201612231511020_PRJ_3040738101.JPG
[2021-05-04 17:03:49,957] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/PREVIEW_SPOT6_PMS_201612231511020_PRJ_3040738101.KMZ
[2021-05-04 17:03:49,957] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/RPC_SPOT6_PMS_201612231511020_PRJ_3040738101.XML
[2021-05-04 17:03:49,957] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/INDEX.HTM
[2021-05-04 17:03:49,957] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/LIBRARY/
[2021-05-04 17:03:49,957] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/LIBRARY/VOL_LOGO.JPG
[2021-05-04 17:03:49,958] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/LIBRARY/VOL_STYLE.XSL
[2021-05-04 17:03:49,958] {bash.py:173} INFO - PROD_SPOT6_001/VOL_SPOT6_001_A/SPOT_VOL.XML
[2021-05-04 17:03:49,958] {bash.py:173} INFO - SPOT_LIST.XML
[2021-05-04 17:03:49,958] {bash.py:173} INFO - GSC#CR#ESA#D2_MG2b_CERR_011b#20180607#163221.xml
[2021-05-04 17:03:49,959] {bash.py:173} INFO - INSPIRE.xml
[2021-05-04 17:03:49,959] {bash.py:173} INFO - + declare -A input_images
[2021-05-04 17:03:49,960] {bash.py:173} INFO - ++ find /home/prism/working_folder -maxdepth 4 -type f '(' -iname '*.JP2' -o -iname '*.TIF' ')'
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + input_images=/home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + for i in ${input_images[@]}
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + input_image=/home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + '[' -z /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2 ']'
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + FOLDER_DIR=/home/processed_data/OptiCali_SP06_NAO_PMS_2A_toa_20161223
[2021-05-04 17:03:49,962] {bash.py:173} INFO - + mkdir -p /home/processed_data/OptiCali_SP06_NAO_PMS_2A_toa_20161223
[2021-05-04 17:03:49,963] {bash.py:173} INFO - ++ basename /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1
[2021-05-04 17:03:49,964] {bash.py:173} INFO - + output_image=/home/processed_data/OptiCali_SP06_NAO_PMS_2A_toa_20161223/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.tif
[2021-05-04 17:03:49,964] {bash.py:173} INFO - + otbcli_OpticalCalibration -in /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2 -level toa -out /home/processed_data/OptiCali_SP06_NAO_PMS_2A_toa_20161223/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.tif float -ram 16000
[2021-05-04 17:03:50,150] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): Found attached file : /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/DIM_SPOT6_PMS_201612231511020_PRJ_3040738101.XML
[2021-05-04 17:03:50,150] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): Found attached file : /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/RPC_SPOT6_PMS_201612231511020_PRJ_3040738101.XML
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx, line 376, RPC Coeff found
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (INFO): Loading kwl metadata from official product in file /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86, * Input Origin: [-74.0815, 18.4224]
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87, * Input Spacing: [1.38889e-05, -1.38889e-05]
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88, * Input keyword list: Full
[2021-05-04 17:03:50,151] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89, * Input projection: GEOGCS["WGS 84",
[2021-05-04 17:03:50,151] {bash.py:173} INFO - DATUM["WGS_1984",
[2021-05-04 17:03:50,151] {bash.py:173} INFO - SPHEROID["WGS 84",6378137,298.257223563,
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AUTHORITY["EPSG","7030"]],
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AUTHORITY["EPSG","6326"]],
[2021-05-04 17:03:50,151] {bash.py:173} INFO - PRIMEM["Greenwich",0,
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AUTHORITY["EPSG","8901"]],
[2021-05-04 17:03:50,151] {bash.py:173} INFO - UNIT["degree",0.0174532925199433,
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AUTHORITY["EPSG","9122"]],
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AXIS["Latitude",NORTH],
[2021-05-04 17:03:50,151] {bash.py:173} INFO - AXIS["Longitude",EAST],
[2021-05-04 17:03:50,152] {bash.py:173} INFO - AUTHORITY["EPSG","4326"]]
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90, * Output keyword list: Empty
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91, * Output projection:
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92, * Output Origin: [0, 0]
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93, * Output Spacing: [1, 1]
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x21c1d40)
[2021-05-04 17:03:50,152] {bash.py:173} INFO - RTTI typeinfo: otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Reference Count: 3
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Modified Time: 378
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Debug: Off
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Object Name:
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Observers:
[2021-05-04 17:03:50,152] {bash.py:173} INFO - none
[2021-05-04 17:03:50,152] {bash.py:173} INFO - Source: 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"]], 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-05-04 17:03:50,152] {bash.py:173} INFO -
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
[2021-05-04 17:03:50,152] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86, * Input Origin: [-74.0815, 18.4224]
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87, * Input Spacing: [1.38889e-05, -1.38889e-05]
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88, * Input keyword list: Full
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89, * Input projection: GEOGCS["WGS 84",
[2021-05-04 17:03:50,153] {bash.py:173} INFO - DATUM["WGS_1984",
[2021-05-04 17:03:50,153] {bash.py:173} INFO - SPHEROID["WGS 84",6378137,298.257223563,
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AUTHORITY["EPSG","7030"]],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AUTHORITY["EPSG","6326"]],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - PRIMEM["Greenwich",0,
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AUTHORITY["EPSG","8901"]],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - UNIT["degree",0.0174532925199433,
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AUTHORITY["EPSG","9122"]],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AXIS["Latitude",NORTH],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AXIS["Longitude",EAST],
[2021-05-04 17:03:50,153] {bash.py:173} INFO - AUTHORITY["EPSG","4326"]]
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90, * Output keyword list: Empty
[2021-05-04 17:03:50,153] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91, * Output projection:
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92, * Output Origin: [0, 0]
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93, * Output Spacing: [1, 1]
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x21e5e80)
[2021-05-04 17:03:50,154] {bash.py:173} INFO - RTTI typeinfo: otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Reference Count: 3
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Modified Time: 388
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Debug: Off
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Object Name:
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Observers:
[2021-05-04 17:03:50,154] {bash.py:173} INFO - none
[2021-05-04 17:03:50,154] {bash.py:173} INFO - Source: 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"]], 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-05-04 17:03:50,154] {bash.py:173} INFO -
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 85, Information to instantiate transform:
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 86, * Input Origin: [-74.0815, 18.4224]
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 87, * Input Spacing: [1.38889e-05, -1.38889e-05]
[2021-05-04 17:03:50,154] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 88, * Input keyword list: Full
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 89, * Input projection: GEOGCS["WGS 84",
[2021-05-04 17:03:50,155] {bash.py:173} INFO - DATUM["WGS_1984",
[2021-05-04 17:03:50,155] {bash.py:173} INFO - SPHEROID["WGS 84",6378137,298.257223563,
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AUTHORITY["EPSG","7030"]],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AUTHORITY["EPSG","6326"]],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - PRIMEM["Greenwich",0,
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AUTHORITY["EPSG","8901"]],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - UNIT["degree",0.0174532925199433,
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AUTHORITY["EPSG","9122"]],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AXIS["Latitude",NORTH],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AXIS["Longitude",EAST],
[2021-05-04 17:03:50,155] {bash.py:173} INFO - AUTHORITY["EPSG","4326"]]
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 90, * Output keyword list: Empty
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 91, * Output projection:
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 92, * Output Origin: [0, 0]
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 93, * Output Spacing: [1, 1]
[2021-05-04 17:03:50,155] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 119, Input projection set to map transform: GenericMapProjection (0x21e5e80)
[2021-05-04 17:03:50,155] {bash.py:173} INFO - RTTI typeinfo: otb::GenericMapProjection<(otb::TransformDirection::TransformationDirection)1, double, 2u, 2u>
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Reference Count: 3
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Modified Time: 398
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Debug: Off
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Object Name:
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Observers:
[2021-05-04 17:03:50,156] {bash.py:173} INFO - none
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Source: 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"]], 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-05-04 17:03:50,156] {bash.py:173} INFO -
[2021-05-04 17:03:50,156] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Core/Transform/include/otbGenericRSTransform.hxx, line 195, Output projection set to identity
[2021-05-04 17:03:50,156] {bash.py:173} INFO - 2021-05-04 17:03:50 (INFO) OpticalCalibration:
[2021-05-04 17:03:50,156] {bash.py:173} INFO - File: /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Sensor unknown!
[2021-05-04 17:03:50,156] {bash.py:173} INFO - Additional parameters are necessary, please provide them (cf. documentation)!
[2021-05-04 17:03:50,156] {bash.py:173} INFO -
[2021-05-04 17:03:50,156] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx, line 1545, OpticalCalibration (0x1e32db0): MISSING : acqui.gainbias (Level 2)
[2021-05-04 17:03:50,156] {bash.py:173} INFO - ERROR: Missing mandatory parameter -acqui.gainbias.
[2021-05-04 17:03:50,156] {bash.py:173} INFO -
[2021-05-04 17:03:50,157] {bash.py:173} INFO -
[2021-05-04 17:03:50,157] {bash.py:173} INFO - This is the OpticalCalibration application, version 7.2.0
[2021-05-04 17:03:50,157] {bash.py:173} INFO -
[2021-05-04 17:03:50,157] {bash.py:173} INFO - Perform optical calibration TOA/TOC (Top Of Atmosphere/Top Of Canopy). Supported sensors: QuickBird, Ikonos, WorldView2, Formosat, Spot5, Pleiades, Spot6, Spot7. For other sensors the application also allows providing calibration parameters manually.
[2021-05-04 17:03:50,157] {bash.py:173} INFO - Complete documentation: https://www.orfeo-toolbox.org/CookBook/Applications/app_OpticalCalibration.html or -help
[2021-05-04 17:03:50,157] {bash.py:173} INFO -
[2021-05-04 17:03:50,157] {bash.py:173} INFO - Parameters:
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -in <string> Input (mandatory, default value is /home/working_folder/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.JP2)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -out <string> [pixel] Output [pixel=uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble] (default value is float) (mandatory, default value is /home/processed_data/OptiCali_SP06_NAO_PMS_2A_toa_20161223/IMG_SPOT6_PMS_201612231511020_PRJ_3040738101_R1C1.tif)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -level <string> Calibration Level [toa/toatoim/toc] (mandatory, default value is toa)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -milli <boolean> Convert to milli reflectance (mandatory, default value is false)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -clamp <boolean> Clamp of reflectivity values between [0, 1] (mandatory, default value is true)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -acqui <group> Acquisition parameters
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -acqui.minute <int32> Minute (mandatory, default value is 0)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -acqui.hour <int32> Hour (mandatory, default value is 12)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -acqui.day <int32> Day (mandatory, default value is 1)
[2021-05-04 17:03:50,157] {bash.py:173} INFO - -acqui.month <int32> Month (mandatory, default value is 1)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.year <int32> Year (mandatory, default value is 2000)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.fluxnormcoeff <float> Flux Normalization (optional, off by default)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.solardistance <float> Solar distance (optional, off by default)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.sun <group> Sun angles
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.sun.elev <float> Sun elevation angle (deg) (mandatory, default value is 90)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.sun.azim <float> Sun azimuth angle (deg) (mandatory, default value is 0)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.view <group> Viewing angles
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.view.elev <float> Viewing elevation angle (deg) (mandatory, default value is 90)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - -acqui.view.azim <float> Viewing azimuth angle (deg) (mandatory, default value is 0)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx, line 1545, OpticalCalibration (0x1e32db0): MISSING : acqui.gainbias (Level 2)
[2021-05-04 17:03:50,158] {bash.py:173} INFO - MISSING -acqui.gainbias <string> Gains or biases (mandatory)
[2021-05-04 17:03:50,159] {bash.py:173} INFO - 2021-05-04 17:03:50 (DEBUG): file ../Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx, line 1545, OpticalCalibration (0x1e32db0): MISSING : acqui.solarilluminations (Level 2)
[2021-05-04 17:03:50,159] {bash.py:173} INFO - MISSING -acqui.solarilluminations <string> Solar illuminations (mandatory)
[2021-05-04 17:03:50,159] {bash.py:173} INFO - -atmo <group> Atmospheric parameters (for TOC)
[2021-05-04 17:03:50,159] {bash.py:173} INFO - -atmo.aerosol <string> Aerosol Model [noaersol/continental/maritime/urban/desertic] (mandatory, default value is noaersol)
[2021-05-04 17:03:50,159] {bash.py:173} INFO - -atmo.oz <float> Ozone Amount (cm-atm) (optional, off by default, default value is 0)
[2021-05-04 17:03:50,160] {bash.py:173} INFO - -atmo.wa <float> Water Vapor Amount (g/cm2) (optional, off by default, default value is 2.5)
[2021-05-04 17:03:50,160] {bash.py:173} INFO - -atmo.pressure <float> Atmospheric Pressure (hPa) (optional, off by default, default value is 1030)
[2021-05-04 17:03:50,160] {bash.py:173} INFO - -atmo.opt <float> Aerosol Optical Thickness (optional, off by default, default value is 0.2)
[2021-05-04 17:03:50,160] {bash.py:173} INFO - -atmo.aeronet <string> Aeronet File (optional, off by default)
[2021-05-04 17:03:50,161] {bash.py:173} INFO - -atmo.rsr <string> Relative Spectral Response File (optional, off by default)
[2021-05-04 17:03:50,161] {bash.py:173} INFO - -atmo.radius <int32> Window radius (adjacency effects) (optional, off by default, default value is 2)
[2021-05-04 17:03:50,161] {bash.py:173} INFO - -atmo.pixsize <float> Pixel size (in km) (optional, on by default, default value is 0.00154438)
[2021-05-04 17:03:50,162] {bash.py:173} INFO - -ram <int32> Available RAM (MB) (optional, on by default, default value is 16000)
[2021-05-04 17:03:50,162] {bash.py:173} INFO - -progress <boolean> Report progress
[2021-05-04 17:03:50,162] {bash.py:173} INFO - -help <string list> Display long help (empty list), or help for given parameters keys
[2021-05-04 17:03:50,162] {bash.py:173} INFO -
[2021-05-04 17:03:50,162] {bash.py:173} INFO - Use -help param1 [... paramN] to see detailed documentation of those parameters.
[2021-05-04 17:03:50,162] {bash.py:173} INFO -
[2021-05-04 17:03:50,162] {bash.py:173} INFO - Examples:
[2021-05-04 17:03:50,162] {bash.py:173} INFO - otbcli_OpticalCalibration -in QB_1_ortho.tif -level toa -out OpticalCalibration.tif
[2021-05-04 17:03:50,162] {bash.py:173} INFO -
[2021-05-04 17:03:50,173] {bash.py:173} INFO - + '[' 1 -eq 0 ']'
[2021-05-04 17:03:50,173] {bash.py:173} INFO - + exit 4
[2021-05-04 17:03:50,173] {bash.py:173} INFO - + cleanExit
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + local retval=4
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + local msg=
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + case ${retval} in
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + msg='Orfeo Toolbox did not finish succesfully'
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + '[' 4 -ne 0 ']'
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + echo 'Error 4 - Orfeo Toolbox did not finish succesfully, processing aborted '
[2021-05-04 17:03:50,174] {bash.py:173} INFO - Error 4 - Orfeo Toolbox did not finish succesfully, processing aborted
[2021-05-04 17:03:50,174] {bash.py:173} INFO - + exit 4
[2021-05-04 17:03:50,174] {bash.py:177} INFO - Command exited with return code 4
[2021-05-04 17:03:50,183] {taskinstance.py:1455} ERROR - Bash command failed. The command returned a non-zero exit code.