MintPy icon indicating copy to clipboard operation
MintPy copied to clipboard

set reference point in lat/lon for dataset in UTM coordinate

Open cirrusasf opened this issue 4 years ago • 2 comments

Description of the desired feature current mintpy.reference.lalo in the configure file accepts y and x in projected coordinates and mintpy.reference.yx accepts the rows and cols of the data array. Can you provide the new option to define the reference point by accepting latitude/longitude in degree in WRG84?

Is your feature request related to a problem? Please describe

Describe the solution you'd like

Describe alternatives you have considered

Additional context

Are you willing to help implement and maintain this feature?

  • [x] Yes
  • [ ] No

cirrusasf avatar Sep 22 '21 17:09 cirrusasf

we can help to add this feature.

cirrusasf avatar Sep 22 '21 17:09 cirrusasf

Thank you @cirrusasf, this feature sounds reasonable and useful. One solution could be: for each geo-coordinate related option, add an accompanying option to specify a different unit from the input native one, e.g. for mintpy.reference.lalo, add the following template option and corresponding handling code:

mintpy.reference.laloUnit = auto  #[none / degree / meter], auto for none (native geo-coordinates)

Contributions are more than welcome.

yunjunz avatar Sep 22 '21 19:09 yunjunz