Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • scenes scenes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.

  • umr-tetisumr-tetis
  • scenesscenes
  • Issues
  • #20
Something went wrong while setting issue due date.
Closed
Open
Issue created 2 years ago by Giffard-Carlet Josselin@josselin.giffard-carlet
  • New related issue

  • New related issue

No /MASKS dir for SPOT images

Closed

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

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Related merge requests

    1

    When this merge request is accepted, this issue will be closed automatically.

    • Support de STAC
      !50

    Activity


    • Cresson Remi
      Cresson Remi @remi.cresson · 2 years ago
      Owner

      ce sont des images IGN... malgré les apparences! :innocent:

    • Cresson Remi
      Cresson Remi @remi.cresson · 2 years ago
      Owner

      Pour les images Spot-6/7 IGN, on peut aussi rajouter une classe.

      On aura juste moins de métadonnées, moins de fonctionnalités.

    • Cresson Remi mentioned in merge request !50 (merged) 2 years ago

      mentioned in merge request !50 (merged)

    • Cresson Remi closed via merge request !50 (merged) 2 years ago

      closed via merge request !50 (merged)

    • Cresson Remi mentioned in commit 6b9cea4a 2 years ago

      mentioned in commit 6b9cea4a

    Please register or sign in to reply
    0 Assignees
    None
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets