Author: boustani Date: Tue Apr 30 04:47:02 2013 New Revision: 1477471 URL: http://svn.apache.org/r1477471 Log: trivial changes on title and query string Modified: incubator/climate/trunk/api/server/src/main/webapp/query.php Modified: incubator/climate/trunk/api/server/src/main/webapp/query.php URL: http://svn.apache.org/viewvc/incubator/climate/trunk/api/server/src/main/webapp/query.php?rev=1477471&r1=1477470&r2=1477471&view=diff ============================================================================== --- incubator/climate/trunk/api/server/src/main/webapp/query.php (original) +++ incubator/climate/trunk/api/server/src/main/webapp/query.php Tue Apr 30 04:47:02 2013 @@ -42,7 +42,8 @@ function boundingBoxQuery($db_link,$latM . "longitude<=" . pg_escape_string($lonMax) . ' AND ' . "time>='{$real_time_start}' AND " . "time<='{$real_time_end}'; "; - // Return the response from the server + // Return the response from the server + // var_dump($sql); return pg_query($db_link,$sql); } @@ -222,7 +223,7 @@ function printParameterMap_pg() { ?> -WRM Regional Climate Modeling Database: Query Service +Regional Climate Modeling Database: Query Service -

Regional Climate Model Evaluation Database Query Service

+

Regional Climate Model Evaluation Database Query Service

Overview

-

This service provides a REST-based access to the WRM Regional Climate Model Evaluation database. To request +

This service provides a REST-based access to the Regional Climate Model Evaluation database. To request data, please formulate a query as follows:

-datasetId=#&parameterId=#&latMin=#&latMax=#&lonMin=#&lonMax=#&timeStart=YYYYMMDDTHHMMZ&timeEnd=YYYYMMDDTHHMMZ&info=yes/no +datasetId=#&parameterId=#&latMin=#&latMax=#&lonMin=#&lonMax=#&timeStart=YYYYMMDDTHHMMZ&timeEnd=YYYYMMDDTHHMMZ&info=yes/no

Query Parameters

@@ -261,7 +262,7 @@ data, please formulate a query as follow
The ISO time marking the beginning of the desired time range (Format: YYYYMMDDTHHMMZ)
timeEnd
The ISO time marking the end of the time range (Format: YYYYMMDDTHHMMZ)
-
info
+
info (optional)
The general parameter's information returns by setting this to "yes"
@@ -276,13 +277,14 @@ data, please formulate a query as follow

Parameters (Postgres)

The following is a lookup table which can be used to obtain the correct parameter id of interest for any parameter in the database.

- < +
ParameterParameter IdDataset Id
ParameterParameter IdDataset Id
- \ No newline at end of file +?>