Skip to content

Commit

Permalink
Fix logic in L1OspDir for passing in srtm_dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Smyth authored and Mike Smyth committed Apr 10, 2024
1 parent ba2401a commit da718c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lib/l1_osp_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def dem(self):
srtm_dir = self.srtm_dir
if(not datum):
datum = os.environ["AFIDS_VDEV_DATA"] + "/EGM96_20_x100.HLF"
if(self.srtm_dir):
if(not srtm_dir):
srtm_dir = os.environ["ELEV_ROOT"]
logger.info("Datum: %s", datum)
logger.info("SRTM Dir: %s", srtm_dir)
Expand Down

0 comments on commit da718c2

Please sign in to comment.