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

batch processing: x and y coordinates instead of i-j indices #4

Open
aaschwanden opened this issue Jun 12, 2014 · 0 comments
Open

batch processing: x and y coordinates instead of i-j indices #4

aaschwanden opened this issue Jun 12, 2014 · 0 comments

Comments

@aaschwanden
Copy link
Member

For batch processing, I suggest we have to user specifying the x and y coordinates in the projected coordinate system, rather than grid indices. Rationale: this is the more robust approach as it does not depend on the grid dimensions of the data set. I'd prefer not to load a 150m Greenland data set into the GUI but can easily supply the coordinates in the projected coordinate system.

So I suggest changing

parser.add_option("-x", "--x_range", dest="x_range", help="x_min,x_max (in grid indices)")
parser.add_option("-y", "--y_range", dest="y_range", help="y_min,y_max (in grid indices)")

to

parser.add_option("-x", "--x_range", dest="x_range", help="x_min,x_max (in m)")
parser.add_option("-y", "--y_range", dest="y_range", help="y_min,y_max (in m)")

and whatever else is necessary in needed to make this work in pism_regional.py.

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

No branches or pull requests

1 participant