Skip to main content

A Python library (multi-threaded) for retrieving SRTM elevation map of CGIAR-CSI

Project description

Python library (multi-threaded) for retrieving SRTM elevation map of CGIAR-CSI.

This is a Python library (multi-threaded), named 'srtm', for retrieving SRTM elevation map of CGIAR-CSI. SRTM elevation map is retrieved by using of:

# RETRIEVE SRTM DATA OVER AN AOI
import srtm

# Define the AOI
aoi = {'upper_left' : [48.07, -69.06], 
       'lower_right': [44.60, -63.77]}

# Retrieve, merge, and crop SRTM elevation map over the AOI
srtm.clip(aoi, save_path='/Users/ghasem.abdi/Desktop/nb_srtm.tif')
# RETRIEVE SRTM DATA OF A POINT
from srtm import srtm

# Define the point
lat, lon = 46.335, -66.415

# Retrieve SRTM elevation map of the above coordinate
srtm.retrieve((srtm.which_tile(lat, lon), '/Users/ghasem.abdi/Desktop/'))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srtm_dl-0.0.4.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

srtm_dl-0.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page