Skip to content

Commit

Permalink
Fix mitiff use of get_enhanced_image
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Nov 6, 2018
1 parent 417cc31 commit ea7cdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/writers/mitiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _save_datasets_as_mitiff(self, datasets, image_description,

else:
LOG.debug("Saving datasets as enhanced image")
img = get_enhanced_image(datasets.squeeze(), self.enhancer)
img = get_enhanced_image(datasets.squeeze(), enhance=self.enhancer)
for i, band in enumerate(img.data['bands']):
chn = img.data.sel(bands=band)
data = chn.values * 254. + 1
Expand Down

0 comments on commit ea7cdd7

Please sign in to comment.