-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to choose EGM for external DEM in pyroSAR.snap.util.geocode #166
Comments
Hi @peterfriedl. You're right. However, I am not quite sure whether SNAP is able to apply the EGM2008 model. There is no option to select different geoid models in nodes like See these links for further details: According to this response, they are just applying EGM96 to the Copernicus DEM auto-download options as well. Perhaps this option will be added in the next SNAP release, until then there is not much point adding it to |
Hi @johntruckenbrodt,
to
has no effect on pyroSAR.snap.util.geocode and still the EGM96 will be applied, right? |
The function pyrosar.auxdata.get_egm_lookup only downloads the file, but the actual correction is done by SNAP. Downloading the EGM2008 Basically there are two ways of applying the correction: either with SNAP or with GDAL/PROJ. You can use the function pyroSAR.auxdata.dem_create for preparing the external DEM including EGM2008 correction using GDAL. This function also calls |
With the newest version 0.14, the general support of EGM2008 for geoid correction of DEMs has been added. However, in the function pyroSAR.snap.util.geocode, the EGM that is applyied to an external DEM if externalDEMApplyEGM=True, is hardcoded to EGM96:
if dempar['externalDEMApplyEGM']:
get_egm_lookup(geoid='EGM96', software='SNAP')
It would be nice if in a future version an option is added to pyroSAR.snap.util.geocode, in wich the user can choose which EGM will be applied to the external DEM (EGM96 or EGM 2008), just like this is now the case for pyroSAR.auxdata.dem_create.
The text was updated successfully, but these errors were encountered: