Description
The Oceans 23.0 API provides public access to Ocean Networks Canada's extensive data archive, via 6 * discovery, 4 data delivery and 2 1 interoperability web servicesservice. The API provides programmatic access to:
- data products, (identical to those accessed interactively using the Ocean's 23.0 Data Search interface)
- scalar, and raw data for near-realtime applications.
Discovery Services
...
- dataProductDelivery - Request, run and download data products for locations or devices.
- scalardata - Get the most recent scalar data, or scalar data between two given dates for stations (locations) and device categories.
- rawdata - Get the most recent raw data from an instrument, or raw data between two given dates for stations (locations) and device categories.
- archivefiles - Find archived files available for a station (location) and device category, between two given dates, and download the files.
...
A collection of services that have standardized interfaces designed for sharing and data integration.
- ERDDAP (OPeNDAP) - coming soonSOS - Sensor Observation Service - coming soon
Parameters
All of the services, with the exception of the interoperability services, require the use of a method and token. Only the scalardata, rawdata and archivefiles services support the responseType optional parameter.
Parameter | Type | Description | Example |
Required |
method | string | Each Web Service has 1 or more methods outlined in the documentation. The method name is case sensitive. | method=get |
token | string | All Web Services require a token. This can be generated, after logging in at http://data.oceannetworks.ca/Profile. Click the "Web Services" tab, then click "Generate Token" | token=YOUR_TOKEN |
Optional |
responseType | string | Valid values are "json" and "jsonp". Defaults to "json". ONLY AVAILABLE for scalardata, rawdata and archivefiles services | responseType =jsonp |
Request Format
All web service are method oriented and use the following Url pattern:
http://data.oceannetworks.ca/api/[SERVICE_NAME]?method=[METHOD_NAME]&token=[YOUR_TOKEN_HERE]
Tip |
---|
...
| |
Warning | |
---|---|
| |
If you have any Please report all issues with the web services, documentation, samples and , or client libraries to the Oceans 2.0 Help Centre, please let us know. |