|
|
|||
|
||||
NetCDF Subset Service for Point Data (version 0.2)Please send comments to the THREDDS email group (preferred) or to John CaronOverview
See NetCDF Subset Service for an overview.
We have a prototype service for IDD METAR data at http://motherlode.ucar.edu:8080/thredds/ncss/metars/dataset.html. Sample URLS look like:
Other interesting URLs for the metar service:
The list of valid variables is available from the Dataset Description.
Examples:
Variable names with spaces or other illegal characters must be escaped.
Latitude, longitude values are specified in decimal degrees north and east, respectively.
Use one of the following methods:
Specify all of these parameters (order does not matter):
The bounding box has west as its west edge, includes all points going east until the east edge. Units must be degrees east, may be positive or negative, and will be taken modulo 360. Therefore, when crossing the dateline, the west edge may be greater than the east edge. Examples:
The requested point must lie within the dataset spatial range. The station closest to the requested point will be used.
Examples:
You may specify a list of stations instead of the lat/lon point or bounding box
The list of valid stations is available from the Dataset Description. Station names with spaces or other illegal characters must be escaped.
Examples:
Use one of the following methods:
Specify 2 of these 3 parameters (order does not matter):
The intersection of the requested time range with the dataset time range will be returned.
Examples:
The requested time point must lie within the dataset time range. The time slice/point closest to the requested time will be returned.
Examples:
Specify the return format(s) that you want by using the accept parameter:
accept=mime_type[,mime-type][,mime-type]
The list of possible return formats varies depending on the dataset, and can be found in the Dataset Description Document. Your request specifies the list of acceptable types, if none are valid a 400 "Bad Request" HTTP status is returned. If you specify multiple mime-types, the server will choose one of them.
The server returns the actual return format in the Content-Type header, examples:
Query examples:
The possible mime-types and aliases:
| Mime Type | Synonyms |
|---|---|
| text/plain | raw, ascii |
| application/xml | xml |
| text/csv | csv |
| text/html | html |
| application/x-netcdf | netcdf |
The list of actual return formats depends on the dataset, and can be found in the Dataset Description Document.
Each dataset has an XML document called the Dataset Description Document. These are intended to perform the same function as OGC GetCapabilities or Atom Introspection, that is, provide clients with the necessary information to formulate a valid request and send it to the server. The content of these documents is still evolving.
A Station Observation Dataset is a collection of time series of observations at named locations called stations.
The dataset is described by a stationObsDataset document, which in turn points to the list of valid stations in a seperate stationCollection document. The stationCollection document can be quite large, and caching on the client (eg using the If-Modified-Since header) is an important optimization.
This document is maintained by John Caron and was last updated on June 18, 2007
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||