Displaying differences for changeset
 
display as  

src/java/python/driver.py

@@ -12,7 +12,7 @@
     ret = we.WEgetData(*sys.argv[1:])
     if isinstance(ret, dict):
         print json.dumps(ret)
-    elif len(ret) == 3:
+    elif len(ret) == 3 and isinstance(ret[1], dict):
         # Return the GID of the tile so that the calling program can cache duplicate 
         print json.dumps({ 'output': ret[0], 'cell_geojson': ret[1], 'cell_extent': ret[2] })
     else:

test/service_tests/MACA_V1_0/service.properties

@@ -1,7 +1,8 @@
 #ignore=true
 
 # service endpoint, required
-url=http://localhost:8080/csip-weather/m/maca/1.0
+#url=http://localhost:8080/csip-weather/m/maca/1.0
+url=http://129.82.224.216:8080/csip-weather/m/maca/1.0
 
 # number of concurrent tests, optional, defaults to 1
 concurrency=1

test/service_tests/NCWCD_V1_0/ncwcd-req.json

@@ -4,16 +4,16 @@
     },
     "parameter": [{
         "name": "station_list",
-        "value": [101, 106]
+        "value": [101]
     }, {
         "name": "units",
         "value": "metric"
     }, {
         "name": "start_date",
-        "value": "2015-2-1"
+        "value": "2015-02-01"
     }, {
         "name": "end_date",
-        "value": "2015-12-31"
+        "value": "2015-02-02"
     }, {
         "name": "climate_data",
         "value": ["tmin", "tmax", "pp", "sr", "rhave", "windspeed_avg"],