Submit a batch of MODIS Global Subset Tool orders via the MODIS Web Service
Switch branches/tags
Nothing to show
Clone or download
mcnelisjj
mcnelisjj removed DAAC lingo
Latest commit f59302b Jun 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md removed DAAC lingo Jun 1, 2018
example_sites.csv Add files via upload May 29, 2018
modis_global_api_access_python.ipynb change incorrect link Jun 1, 2018
modis_order_delivery_email.png Add files via upload May 29, 2018

README.md

Submit a batch of MODIS Global Subset Tool orders via the MODIS Web Service

Author: ORNL DAAC
Date: May 29, 2018
Contact for ORNL DAAC: uso@daac.ornl.gov

Keywords: MODIS, web service, Python, R, REST

Overview

The tutorials in the two jupyter notebooks demonstrate how to submit a batch of orders to the MODIS Global Subset Tool for a list of coordinates in a text file using the MODIS Web Services API maintained by the ORNL DAAC. For a full description and usage examples of the web service, please visit the ORNL DAAC's MODIS: https://modis.ornl.gov/data/modis_webservice.html

Tutorials

Prerequisites:

  • Python 2 or 3, Libraries: requests, pandas, json, datetime OR
  • R (3.x recommended). R libraries: httr, readr, jsonlite
  • An input text file formatted as follows:
site_id,product,latitude,longitude,email,start_date,end_date,kmAboveBelow,kmLeftRight
site1,MOD13Q1,35.0,-90.0,mcnelisjj@ornl.gov,2000-01-01,2005-12-31,8,8
site2,MOD13Q1,40.0,-95.0,mcnelisjj@ornl.gov,2000-01-01,2005-12-31,8,8
site3,MOD13Q1,45.0,-100.0,mcnelisjj@ornl.gov,2000-01-01,2005-12-31,8,8
site4,MOD13Q1,50.0,-105.0,mcnelisjj@ornl.gov,2000-01-01,2005-12-31,8,8
site5,MOD13Q1,55.0,-110.0,mcnelisjj@ornl.gov,2000-01-01,2005-12-31,8,8

You can of course format your input file however best suits your needs; e.g. the product, email, start_date, end_date, kmAboveBelow, and kmLeftRight are redundant in the notebooks examples and could be excluded.

order_delivery_example

Figure 1. Example order delivery email