Closed lionlai1989 closed 2 years ago
I think when when exogenous_dem_geoid_mode is true, your input DEM is assumed to be in orthometric (geoid) heights, and then it needs conversion to ellipsoid heights, which is what happens in that code. So, the logic is correct. Ellipsoid heights are lot more convenient to use than orthometric heights for later processing.
In
s2p/rpc_utils.py
, it statesWhen
exogenous_dem_geoid_mode
isTrue
, then converting height from geoid to ellipsoid.My questions are:
1, Why is it not
if exogenous_dem_geoid_mode is False:
? It makes more sense to me that whenexogenous_dem_geoid_mode
isFalse
, then the DEM should be ellipsoid height.geoid_to_ellipsoid
convert a orthometric height to ellipsoid height? From H to h as in geoid height calculator states. It would be great that if you can clarify these things. Thank you.