Skip to content

Commit

Permalink
fix: srtm flag
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofvandijkO committed May 22, 2024
1 parent 6d102c6 commit 630d1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2p/rpc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def exogenous_disp_range_estimation(rpc1, rpc2, x, y, w, h, H1, H2, cfg, A=None,
disparity is made horizontal thanks to the two rectifying homographies
H1 and H2.
"""
if cfg['exogenous_dem'] is None and cfg.get('exogenous_dem', None) in [None, False]:
if cfg['exogenous_dem'] is None and cfg.get('use_srtm', None) in [None, False]:
return

m, M = altitude_range(rpc1, x, y, w, h, cfg, margin_top, margin_bottom)
Expand Down

0 comments on commit 630d1ff

Please sign in to comment.