Skip to content

Commit

Permalink
Merge pull request #750 from jackieleng/warnings-import
Browse files Browse the repository at this point in the history
Add missing warnings import to geotiff writer
  • Loading branch information
djhoese authored May 3, 2019
2 parents 1f21d20 + 4cf3232 commit d0ff651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions satpy/writers/geotiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def save_image(self, img, filename=None, dtype=None, fill_value=None,
except ImportError:
LOG.warning("Using legacy/slower geotiff save method, install "
"'rasterio' for faster saving.")
import warnings
warnings.warn("Using legacy/slower geotiff save method with 'gdal'."
"This will be deprecated in the future. Install "
"'rasterio' for faster saving and future "
Expand Down

0 comments on commit d0ff651

Please sign in to comment.