Skip to content

Error read metaFile #1444

@ditafaith

Description

@ditafaith

Hi Yunjuz,

I am processing ALOS2 and used ISCE2 to generate the interferograms. Then, followed the config file as mentioned in the website.
However, there is an error as follows,

File "/home/saka/miniconda3/envs/isce2/lib/python3.12/site-packages/mintpy/load_data.py", line 197, in read_subset_box
pix_box = coord.bbox_geo2radar(geo_box)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/saka/miniconda3/envs/isce2/lib/python3.12/site-packages/mintpy/objects/coord.py", line 511, in bbox_geo2radar
y, x, y_res, x_res = self.geo2radar(lat, lon, print_msg=print_msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/saka/miniconda3/envs/isce2/lib/python3.12/site-packages/mintpy/objects/coord.py", line 352, in geo2radar
az_step = ut0.azimuth_ground_resolution(self.src_metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/saka/miniconda3/envs/isce2/lib/python3.12/site-packages/mintpy/utils/utils0.py", line 233, in azimuth_ground_resolution
height = float(atr['HEIGHT'])
~~~^^^^^^^^^^
KeyError: 'HEIGHT'

This error appear when I setup up the parameter use S:N,W:E, in 1.6.3 version. Not sure in the previous one.
Any response will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions