Skip to content

Commit

Permalink
Merge branch 'pre-master' of github.com:pytroll/mpop into pre-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam.Dybbroe committed Sep 20, 2016
2 parents d08d895 + ea57aab commit 51de76d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mpop/imageo/geo_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,8 @@ def geotiff_save(self, filename, compression=6,
pass
try:
# Check for epsg code.
srs.SetAuthority('PROJCS', 'EPSG',
int(area.proj_dict['init'].
split('epsg:')[1]))
srs.ImportFromEPSG(int(area.proj_dict['init'].
lower().split('epsg:')[1]))
except (KeyError, IndexError):
pass
srs = srs.ExportToWkt()
Expand Down

0 comments on commit 51de76d

Please sign in to comment.