ssec / polar2grid

Tools for reading, remapping, and writing satellite instrument data.
http://www.ssec.wisc.edu/software/polar2grid/
GNU General Public License v3.0
72 stars 34 forks source link

Add ability to save geotiffs with add_coastlines #627

Closed djhoese closed 1 year ago

djhoese commented 1 year ago

As mentioned on the forum, some users might want to save geotiffs with coastlines and do later geolocation-based processing on the images for a final result. With the currently supported PNG, JPEG, and regular TIFF type images this is not possible. I found a pretty simple way of copying geotiff tags with the libraries we're already using:

https://stackoverflow.com/a/71472470/433202

So despite might disapproval of this use case (geotiffs should not have overlays burned into them, they are more of a data file than an image format IMO), this doesn't actually seem that hard.

Note to users: this is not a priority for the project and I have no guarantee on when it will get done (if ever).