Skip to content

Unexpected changes while geocoding #736

@bbuzzanga

Description

@bbuzzanga

I've run into two issues regarding commit 70d606e

  1. I can no longer geocode a watermask (created iwth generate_mask.py ) as it doesn't have the heading attribute:
    -/mintpy/utils/utils0.py", line 222, in auto_lat_lon_step_size az_angle = np.deg2rad(abs(heading2azimuth_angle(float(atr['HEADING'])))) KeyError: 'HEADING'

  2. The size of the geocoded files (for example temporal coherence mask) is no longer consistent with the original radar coded mask (and I think width/height are flipped). Prior to this commit, the sizes were consistent. I'm not sure if this is expected or not.
    -the original size was (1504 x 3177) and is now (3213 x 1798).

Any thoughts on fixes? I can help implement.

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