-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/geotiff export #364
Conversation
(cherry picked from commit 156b0ac)
(cherry picked from commit 70dd8d4)
…with geotiff creation.
* Fixed some inconsistencies / bugs in the geotransform. I'm trying to move most of the heavy lifting to the Coordinates object * The GDAL transform's first line is for the X or Lon direction, the second line is for the Y or Lat direction, which means if the data is not organized so that rows corresponds to changes in lat, we need to rework some automatically computed geotransforms
* Coordinates now handles the `from_geotransform` work, and operates with both rot (untested) and uniform coordinates (tested) * Rot coords will be tested once #363 is solved * Extended Rasterio to handle multi-band data. * Removed logic from get_native_coordinates and used Coordinates.from_geotransform instead * In the units.to_geotiff function, converted back to an rasterio.affine geotransform due to deprecation warning... perhaps should do the affine geotransform everywhere.
… the time dimension for geotransforms.
…doesn't have geotransform implemented.
Okay. Tests are passing. Let me know if you have any comments @jmilloy, I'd like to merge today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I made a few optional suggestions for simplification/readability, and if you like those changes but don't have time, let me know and I'll do it real quick.
I do want to deal with the easy exception handling better, if possible.
@jmilloy Looks like the tests are passing. Please merge if you're happy. Otherwise I'll merge it when I have a moment. |
This adds geotiff export support to podpac. This is in support of the WCS OGC endpoint.
Right now the rotated coordinates are probably not working, but with this update 90% of the WCS endpoint should work. That piece is untested.