Data Locator was written as a web service so it can be called by other client applications (or other web services).
Consisting of two different web service calls, it can be called using a RESTful style interface (simply a URL) as follows:
"Search" Web Service And Parameters
Given the search parameters passed in, the "Search" web service returns a list of WCS URLS that match
the search criteria.
The example below returns 11 such matches.
| minDate |
-min date for search in ISO-8601 format (e.g., 2001-09-21T22:27:31Z) |
| maxDate |
-max date for search in ISO-8601 format (e.g., 2008-10-01T12:00:00Z) |
| startZHrs |
-min latitude for search (part of bounding box, e.g. 30.5) |
| coverageLabel |
-a label or name for this coverage. Can be a partial (search) match like "temp" or "tem" |
| catalogDesc |
-the THREDDS catalog to search. Set catalogDesc=ALL to search all catalogs. |
"Search" Web Service Call
http://localhost:8080/axis2/services/DataLocatorService/search?minDate=2003-01-01&maxDate=2009-01-01&startZHrs=12&coverageLabel=Albedo&catalogDesc=Nomads-Thredds-1-Degree-GFS
Note: substitute in the actual computer name for "localhost".
"Search" Web Service Response (200 matches found)

For more information about the "Search" web service, view the DataLocatorService Javadocs.
|