Skip to main content
Home > Get Data > MODIS Web Service

MODIS Web Service: MODIS Collection 6 Land Products

The MODIS Web service provides users with subsets of MODIS Land Products through standards based SOAP (Simple Object Access Protocol) Web service. Through the Web service users can access functions to execute on their machine. A list of functions available to users are provided in the table below. The MODIS web service is built on ORNL DAAC's MODIS Global subsetting and visualization tool that provides customized subsets and visualization of MODIS Collection 6 land products for any land location on the globe.

Using the Web Service users can

  • Retrieve subsets through command line operation
  • Get subsets directly into software such as R, Python and integrate the subsets into client side workflow
  • Write custom code to use the subsets for visualization or data reformatting
  • .. and much more

The Web Services Description Language (WSDL) document for the MODIS web service is based on WSDL version 1.1 and can be accessed from
Updated WSDL Location: https://modis.ornl.gov/cgi-bin/MODIS/soapservice/MODIS_soapservice.wsdl

Web Service Functions Available

Function
( Example Request)
Input Output Example Response
getproducts() NONE This returns the list of products available. Product shortname is used. MOD11A2, MOD13Q1, MOD09A1, MOD15A2, MOD17A2, MCD43A4, MYD09A1....
getbands("MOD13Q1") Product This returns the list of bands available for a product 250m_16_days_NDVI,250m_16_days_EVI, 250m_16_days_VI_Quality...
getdates(
40,
-110,
"MOD13Q1")
Latitude,
Longitude,
Product
This returns the list of composite dates available for the product, Latitude, Longitude combination A2000065, A2000081, A2000097, A2000113....
getsubset(
40,
-110,
"MOD13Q1",
"250m_16_days_NDVI",
"A2000065",
"A20000081",
10,
10)
Latitude,
Longitude,
Product,
Band,
MODIS Subset Start Date,
MODIS Subset End Date,
Km Above Below,
Km Left Right
This returns the subset in CSV format for the location, product, band and date combination with detailed projection and band information. MOD13Q1.A2000065.h09v04.006.2008238050507.250m_16_days_NDVI, MOD13Q1, A2000065, Lat40.0Lon-110.0Samp21Line21, 2008238050507, 1177, 1164, 1116, 1198, 1256, 1226, 1177, 1154, 1267, 1348, 1277, 1345, 1411, 1341, 1278, 1217, 1232, 1244, 1262, ...
MOD13Q1.A2000081.h09v04.006.2008196123306.250m_16_days_NDVI, MOD13Q1, A2000081, Lat40.0Lon-110.0Samp21Line21, 2008196123306, 1194, 1144, 1162, 1247, 1263, 1250, 1285, 1347, 1228, 1347, 1321, 1393, 1373, 1346, 1312, 1312, 1313, 1261, 1278, ...
getsubsetorder(
40.1,
-110.2,
"MOD13Q1",
"virdiml@ornl.gov",
"data",
"A2000065",
"A20000081",
10,
10)
Latitude,
Longitude,
Product,
Email ID,
Order ID,
MODIS Subset Start Date,
MODIS Subset End Date,
Km Above Below,
Km Left Right
This returns a Unique ID for the subset order 24May2010_15:54:58_416294117L40.1L-110.2S81L81_MOD13Q1_data

To aid users with setting up the web service, we have provided the following example clients.

Perl client

Download Perl Client    [Right Click and save file with *.pl extension.].

The MODIS land product subset perl script is an easy to use perl implementation of the SOAP based interface to the ORNL DAAC MODIS data. The code was originally developed and contributed by Dr. Koen Hufkens. Additional code contributions have been made by Dr. Stef Lhermitte to include a geographic header. These clients are written in Perl and use SOAP-Lite Perl module. The Perl client example allows users to submit request for a subset. The interface could be customized further to add more complex operations at the client end.

Python client

Download   [Right Click and save file with *.py extension]

This client is written in Python and uses SUDS python module. The python client example allows users to submit request for a subset. The interface could be customized further to add more complex operations at the client end. The python client is written by Dr. Tristan Quaife, University of Reading, UK.

R

Download the MODISTools package
Install the downloaded package install.packages("MODISTools2.tar.gz",repos=NULL,type="source")
Download sample code (Rclient.R) demonstrating usage of various available functions.

References:

[1] https://www.w3.org/TR/wsdl.html

[2] https://www.w3.org/TR/xmlschema-2/

[3] https://daac.ornl.gov/modisglobal

[4] https://lpdaac.usgs.gov/dataset_discovery/modis/modis_products_table