Skip to content

2_dem_generation no 'getMetadataRoot()' attribute #46

@vdevauxchupin

Description

@vdevauxchupin

Hello,

I am discovering your pipeline as I would like to generate DEMs for a glacier in Alaska. I tried different AOIs, different times and sizes, and I am always blocked at the same step: generating the DEMs with 2_dem_generation.py.

The script encounters the following error:

Traceback (most recent call last):
  File "/scripts/2_dem_generation.py", line 941, in <module>
    subset_buffer=args.aoi_buffer
  File "/scripts/2_dem_generation.py", line 683, in run_P1_interferogram
    pass_metadata_p1 = product_1.getMetadataRoot() \
AttributeError: 'NoneType' object has no attribute 'getMetadataRoot'

I traced it back to SNAP, and concluded that it could come from bad images, but even after changing AOI and time-window I still got the same issue. Depending on which AOI or which time-window I use, I get between 2 and 10 .zip images.

Have you encountered that issue before ? If not, could you recommend an area that you know that works well with the code ?

Thank you !

ps: it's awesome to see people finally creating a pipeline for SAR DEM generation !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions