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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file srtm_dl-0.0.4.tar.gz.

File metadata

  • Download URL: srtm_dl-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for srtm_dl-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d277e5e14a98c9384cc3c2ce4e5a764e27d6cea277b430a70eb29585b94652b3
MD5 5fea880c6539bc02c61525dae49eb138
BLAKE2b-256 91f193486aefa06dcef758c34f8595c50a78a415ddc89c8fc437055260bf73c6

See more details on using hashes here.

File details

Details for the file srtm_dl-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: srtm_dl-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for srtm_dl-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 751a48f3f3f77f5646066affc43c9740a217877b6545bd7c3124d881c04b0618
MD5 aaba802aedc14cb6fcad25c7cd472715
BLAKE2b-256 1e10c5e95ed25f4d9ea0824ebc7761639ba9d9e814de894abe85e66511b6dd0b

See more details on using hashes here.

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