Skip to content

Commit

Permalink
[auxdata.dem_create] removed EGM84 geoid option
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Oct 12, 2021
1 parent 17098d6 commit 986b75d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyroSAR/auxdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ def dem_create(src, dst, t_srs=None, tr=None, resampling_method='bilinear',
geoid: str
the geoid model to be corrected, only used if ``geoid_convert == True``; current options:
- 'EGM84'
- 'EGM96'
- 'EGM2008'
outputBounds: list or None
Expand Down Expand Up @@ -251,8 +250,7 @@ def dem_create(src, dst, t_srs=None, tr=None, resampling_method='bilinear',
'targetAlignedPixels': True})

if geoid_convert:
geoid_epsg = {'EGM84': 5798,
'EGM96': 5773,
geoid_epsg = {'EGM96': 5773,
'EGM2008': 3855}
if geoid in geoid_epsg.keys():
epsg = geoid_epsg[geoid]
Expand Down

0 comments on commit 986b75d

Please sign in to comment.