Access ORNL DAAC WMS Service using Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Tutorial: Access ORNL DAAC WMS Service using Python

Date: March 9, 2018
Contact for ORNL DAAC:

Keywords: SDAT, WMS, OGC Web Service, Python, OWSLib


In this tutorial, we will explore how to access ORNL DAAC OGC WMS Service using python OWSLib library. OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models. WMS provides a simple HTTP interface for requesting geo-registered map images from one or more distributed geospatial databases. The WMS request is also available from data downloading page of ORNL DAAC Spatial Data Access Tool (SDAT). After connecting to ORNL DAAC WMS service, we will list all available layers. For this example, global foliage clumping index Data derived from MODIS BRDF is used for demonstration. Then we will walkthrough how to get available metadata and operations of this WMS service layer. At last, we will learn how to send request to map the data and plot the legend.

Source Data

The dataset of Global 500-m Foliage Clumping Index Data Derived from MODIS BRDF in 2006 is used in this example. The original GeoTIFF file is accessible from ORNL DAAC's Spatial Data Access Tool.


Python 2.7 or greater. Python package: OWSLib, basemap, matplotlib


Access the tutorial here: Tutorial