diff --git a/kite/scene.py b/kite/scene.py index 6c3ba71..4b6d0bb 100644 --- a/kite/scene.py +++ b/kite/scene.py @@ -8,7 +8,7 @@ import numpy as np import utm -from pyrocko.dataset.topo import srtmgl3 +from pyrocko.dataset import topo from pyrocko.guts import Dict, Float, Object, String, StringChoice, Timestamp, load from pyrocko.orthodrome import latlon_to_ne, latlon_to_ne_numpy, ne_to_latlon # noqa from scipy import interpolate @@ -643,6 +643,7 @@ def los_rotation_factors(self): return self._los_factors def get_elevation(self, interpolation="nearest_neighbor"): + srtmgl3 = topo.dem("SRTMGL3") assert interpolation in ("nearest_neighbor", "bivariate") if self._elevation.get(interpolation, None) is None: