No /MASKS dir for SPOT images
When I use Spot67Scene function on SPOT67 images download from equipex-geosud :
from scenes.spot import Spot67Scene
/STRIP_DS_SPOT6_202007271013055_GS1_FR1_FR1_FR1_E006N46_03332_DIM.XML
sc = Spot67Scene(dimap_file_xs=pan_xml,
dimap_file_pan=ms_xml)
Result in :
ERROR 3: Cannot open file '/03_SPOT6-7/02_Extracts/SPOT6_2020_France-Ortho_NC_IGN-PAN_S6P_2020072736786037CP/S6P_2020072736786037CP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PAN_001_A/LINEAGE/STRIP_DS_SPOT6_202007271013055_GS1_FR1_FR1_FR1_E006N46_03332_DIM.XML'
ERROR 3: Cannot open file '/03_SPOT6-7/02_Extracts/SPOT6_2020_France-Ortho_NC_IGN-PAN_S6P_2020072736786037CP/S6P_2020072736786037CP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PAN_001_A/RPC_SPOT6_P_202007271013055_SEN_SPOT6_20200918_1218121gzpapjyzvcs0_1.XML'
ERROR 3: Cannot open file '/03_SPOT6-7/02_Extracts/SPOT6_2020_France-Ortho_NC_IGN-MS_S6X_2020072736786037CP/S6X_2020072736786037CP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_MS_001_A/LINEAGE/STRIP_DS_SPOT6_202007271013055_GS1_FR1_FR1_FR1_E006N46_03332_DIM.XML'
ERROR 3: Cannot open file '/03_SPOT6-7/02_Extracts/SPOT6_2020_France-Ortho_NC_IGN-MS_S6X_2020072736786037CP/S6X_2020072736786037CP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_MS_001_A/RPC_SPOT6_MS_202007271013055_SEN_SPOT6_20200918_1218121gzpapjyzvcs0_1.XML'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/otbuser/.local/lib/python3.8/site-packages/scenes/spot.py", line 340, in __init__
self.cld_msk_file_xs = _get_mask(dimap_file_xs, "CLD*.GML")
File "/home/otbuser/.local/lib/python3.8/site-packages/scenes/spot.py", line 285, in _get_mask
raise FileNotFoundError(
FileNotFoundError: ERROR: unable to find a unique file in /03_SPOT6-7/02_Extracts/SPOT6_2020_France-Ortho_NC_IGN-PAN_S6P_2020072736786037CP/S6P_2020072736786037CP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PAN_001_A/MASKS with pattern CLD*.GML
For me no /MASKS directory in my SPOT directories.
Here is tree of SPOT directories :
SPOT6_2020_France-Ortho_NC_IGN-MS_S6X_2020072736786037CP
├── metadata-iso.xml
└── S6X_2020072736786037CP
└── PROD_SPOT6_001
└── VOL_SPOT6_001_A
└── IMG_SPOT6_MS_001_A
├── DIM_S6X_2020072736786037CP.XML
└── IMG_S6X_2020072736786037CP_R1C1.TIF
SPOT6_2020_France-Ortho_NC_IGN-PAN_S6P_2020072736786037CP
├── metadata-iso.xml
└── S6P_2020072736786037CP
└── PROD_SPOT6_001
└── VOL_SPOT6_001_A
└── IMG_SPOT6_PAN_001_A
├── DIM_S6P_2020072736786037CP.XML
└── IMG_S6P_2020072736786037CP_R1C1.TIF