Topographic Datasets (dataset.topo)

pyrocko.dataset.topo offers access to gridded topogrophy data from the following sources. Both modules cache downloaded data for later use.

exception UnknownDEM[source]
elevation(lat, lon)[source]

Get elevation at given point.

Tries to use SRTMGL3, falls back to ETOPO01 if not available.

dataset.topo.etopo1

class ETOPO1(name='ETOPO1', data_dir='/usr/local/lib/python3.7/dist-packages/pyrocko/dataset/topo/data/ETOPO1', base_fn='etopo1_ice_g_i2', raw_data_url='https://mirror.pyrocko.org/www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/ice_surface/grid_registered/binary/%s.zip')[source]
download()[source]
make_tiles()[source]
get_tile(itx, ity)[source]

dataset.topo.srtmgl3

exception AuthenticationRequired[source]
class SRTMGL3(name='SRTMGL3', data_dir='/usr/local/lib/python3.7/dist-packages/pyrocko/dataset/topo/data/SRTMGL3', raw_data_url='https://mirror.pyrocko.org/e4ftl01.cr.usgs.gov/MEASURES/SRTMGL3.003/2000.02.11')[source]
tilename(itx, ity)[source]
available_tilenames()[source]
tilefilename(tilename)[source]
tilepath(tilename)[source]
download_tile(tilename)[source]
download()[source]
get_tile(itx, ity)[source]