WCS GetCoverage for Grid returning CSV Example

From Earth Science Information Partners (ESIP)
Revision as of 09:57, June 6, 2006 by Hoijarvi (talk | contribs)

Simple WCS Python Example

This example uses popular python scripting language to call Datafed WCS via SOAP.

Getting python

Windows users: go to http://www.activestate.com and download Python 2.4 or later. You can also go straight to download download python

The main site for python is http://www.python.org but I prefer to install via the activestate package. Especially Mark Hammonds PythonWin is a nice IDE.

Getting Demo Script

Download [1] and saveit with extension .py type from command line python soapdemo.py There are no parameters, the script is hard coded for demo purposes.