LatestThe node is currently out of the water.
|
LOBOViz CGI Data ServiceThe LOBOViz server has a public CGI (Common Gateway Interface) that allows remote clients to request and receive LOBO sensor data via HTTP (Hyper-Text Transfer Protocol). This page describes how to access the CGI and retrieve sensor data. CGI URLThe LOBOViz data CGI for this server is published at the following URL:
CGI Data Query ParametersParameters are appended to the URL after a '?' character and are each is subsequently separated by a '&' character. The following common parameters are supported:
Rather than specific min_date and max_date, there are two alternate date selectors:
The following common measurement names are examples of the 'y=' independent variable list:
CGI Data Result FormatThe data are returned as tab-separated text representations of numeric values. The first line of the returned data is a header of tab separated names and units for each data column. Each subsequent line displays local date/time in format [YYYY-MM-DD hh:mm:ss], followed by a numeric value for each requested measurement, all fields separated by tabs. ExampleFor example, if you want to retrieve nitrate and salinity for September 29, 2008 to October 7, 2008 the URL would be: Click the above URL to see the tab-separated text data returned by the server. That is common example: exact identifiers for sites and sensors can be found by using the PermaLink feature on the graph results page. Scripted UsageAny programming language with HTTP support can be used to directly access the LOBO data CGI and process the returned sensor measurements. Alternately, an HTTP utility such as wget can be invoked to retrieve the data and save to local file for later processing. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||