Skip to main content

Plot hillshade over Lake Kossou using satellite elevation data

Project description

Python-based analysis of geospatial data

Replication of results described in [^1].

Download elevation file

To download the elevation file, first register an account on the USGS EROS registration system to get download access via EarthExplorer and/or GloVis.

EarthExplorer

Under the Datasets tab, under the Digital Elevation category, under the SRTM subcategory, select SRTM Void Filled.

Under the Additional Criteria tab, set Entity ID to SRTM3N07W006V2.

The results tab will then contain the SRTM Void Filled DEM entity with ID SRTM3N07W006V2, as described in [^1].

You can select the Download Options icon and download the GeoTIFF 3 Arc-second file, n07_w006_3arc_v2.tif.

GloVis

Under the Interface Controls, click the "+" next to "Selected Data Set(s) and add the SRTM Void Filled data set.

Add a Dataset Metadata Filter for the SRTM Void Filled dataset with Entity ID SRTM3N07W006V2, and apply the filter.

You may need to scroll the map view to west Africa in order to find the result. The scene will appear in the Scene Navigator, where you can view the download options and download the GeoTIFF 3 Arc-second file n07_w006_3arc_v2.tif.

Download landsat files

Similar to above, use EarthExplorer or GloVis to search the Landsat 8-9 OLI/TIRS C2 L1 dataset for a result with Landsat Product Identifier L1 of LC09_L1TP_197055_20220111_20230502_02_T1.

Generate plots

The results of [^1] may be replicated by running:

python plot_geotiff.py n07_w006_3arc_v2.tif Figure_2_DEM_Kossou_1609.jpg
python plot_hillshade.py n07_w006_3arc_v2.tif Figure_3_Hillshade_Kossou_1609.jpg
python plot_hillshade.py --azimuth 230 --colormap plasma n07_w006_3arc_v2.tif Figure_4_Azimuth_hillshade_Kossou.jpg
python plot_hillshade.py --altitude 10 --colormap magma n07_w006_3arc_v2.tif Figure_5_Angle_hillshade_Kossou.jpg

[^1]: Polina Lemenkova and Olivier Debeir, Satellite Image Processing by Python and R Using Landsat 9 OLI/TIRS and SRTM DEM Data on Côte d’Ivoire, West Africa. J. Imaging 2022

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

kossou_hillshade_cli-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

kossou_hillshade_cli-0.0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file kossou_hillshade_cli-0.0.3.tar.gz.

File metadata

  • Download URL: kossou_hillshade_cli-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for kossou_hillshade_cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f872ad3dcf5588b6d3f023215eadcc952e78ea18db1263ce80919eb9c8ba6555
MD5 3c32f529386c8d97bb419ea6fe713654
BLAKE2b-256 7a07690139e50850d6628bb16b58b6fd93f0d09f7f522ab27c4c2a8434425c82

See more details on using hashes here.

File details

Details for the file kossou_hillshade_cli-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for kossou_hillshade_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 83a62b1cb379dcd8fe2378d2e3426a0a23cff7e2ab8659227323e4c02edcaff1
MD5 8ed78a9b2b4cbdf03c5724adc9653a7f
BLAKE2b-256 1b170ad821eb8c58b3e20d3f86e23415d7fde1e9d0e4ccf15bef9025745494fd

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