A python program that reads SRTM1 and SRTM3 Digital Elevation Model files.
Read on how this works: https://librenepal.com/article/reading-srtm-data-with-python/
- Put uncompressed *.hgt files on hgt/ directory or redefine the location of this
- By default, the code will assume SRTM3 as the data format. You can also
change it with
from srtm import get_elevation print('Mt. Everest's Elevation: %d' % get_elevation(27.988056, 86.925278))