Skip to content

Commit

Permalink
Merge pull request pytroll#520 from loreclem/master
Browse files Browse the repository at this point in the history
Adapted get_filename call for ninjotiff writing
  • Loading branch information
mraspaud authored Nov 27, 2018
2 parents 6e5ec68 + d4fad49 commit 17b88e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/writers/ninjotiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ def save_image(self, img, filename=None, **kwargs): # floating_point=False,
.. _ninjotiff: http://www.ssec.wisc.edu/~davidh/polar2grid/misc/NinJo_Satellite_Import_Formats.html
"""
filename = filename or self.get_filename(**img.info)
filename = filename or self.get_filename(**img.data.attrs)
nt.save(img, filename, **kwargs)

0 comments on commit 17b88e4

Please sign in to comment.