Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement suggestion: --subset-lalo LATMIN:LATMAX,LONMIN LONMAX option for view.py #1045

Open
1 task
falkamelung opened this issue Jul 16, 2023 · 1 comment

Comments

@falkamelung
Copy link
Contributor

Description of the desired feature
Subset information is frequently stored in the *.template file in the form

mintpy.subset.lalo   = 19.23:19.68,-155.83:-155.31    #[S:N,W:E / no], auto for no

Currently we can't copy-paste this into a view.py command because the required syntax is

view.py geo_velocity.h5 velocity --subset-lat LATMIN LATMAX --subset-lon LONMIN LONMAX` 

It would be nice to support

view.py geo_velocity.h5 velocity --subset-lalo LATMIN:LATMAX,LONMIN LONMAX
view.py geo_velocity.h5 --subset-lat LATMIN:LATMAX --subset-lon LONMIN LONMAX

i.e. in my example

view.py geo_velocity.h5 velocity --subset-lalo 19.23:19.68,-155.83:-155.31
view.py geo_velocity.h5 velocity --subset-lat 19.23:19.68 --subset-lon -155.83:-155.31

Same for --subset-x, --subset-y.

This looks pretty straightforward to be implemented and is a good-first-issue. I could suggest this to a student if you think this is a good idea.

Are you willing to help implement and maintain this feature?

  • [X ] Yes
  • No
@falkamelung falkamelung changed the title --subset-lalo LATMIN:LATMAX,LONMIN LONMAX option for view.py Enhancement suggestion: --subset-lalo LATMIN:LATMAX,LONMIN LONMAX option for view.py Jul 16, 2023
@yunjunz
Copy link
Member

yunjunz commented Jul 16, 2023

This sounds good to me. Please feel free to go ahead with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants