-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use rio accessor for geospatial information #47
Conversation
The rioxarray.open_rasterio method automatically shifts the x/y location to the center of each pixel. See https://corteva.github.io/rioxarray/html/rioxarray.html
@mcflugen What would you think about allowing BMI grid spacing to have negative values? Currently, grid spacing is the distance (so a positive value) between the nodes of a grid along a coordinate axis. The issue is geospatial imagery usually treats the top left corner as the origin. A negative y-value for the grid spacing would indicate the grid is built from this origin in the negative y direction. |
I think we've done this before, actually. I'm not sure, however, if pymt supports it or if the bmi-tester is ok with it (but I think I am ok with it). |
The bmi-tester doesn't like it. Would it be OK if I submitted a PR to change this? |
Until #49 is resolved, I'm disabling testing on Windows with python=3.10. |
This PR updates bmi-topography to use the rioxarray rio accessor for geopspatial information.