nbproject/private/private.xml
@@ -23,9 +23,6 @@ |
<file>file:/od/projects/csip-all/csip-example/test/service_tests/service.properties</file> |
<file>file:/od/projects/csip-all/csip-example/test/service_tests/externalexe/STest.java</file> |
</group> |
- <group> |
- <file>file:/home/pattersd/work/csip-weather/src/java/m/weather/coagmet/V1_0.json</file> |
- <file>file:/home/pattersd/work/csip-weather/test/service_tests/CoAgMet_V1_0/coagmet-req.json</file> |
- </group> |
+ <group/> |
</open-files> |
</project-private> |
src/java/m/weather/GHCND/V1_0.json
@@ -4,7 +4,7 @@ |
}, |
"parameter": [{ |
"name": "station_list", |
- "value": [["USC00141522", "Cimarron!!"], ["USC00256439", "Overton 3W"]] |
+ "value": ["USC00141522", "USC00256439"] |
}, { |
"name": "units", |
"value": "metric" |
src/java/python/weatherExtraction.py
@@ -201,7 +201,7 @@ |
} |
to_metric_fn = { |
'tmp': ident, |
- 'apcp': ident, |
+ 'apcp': lambda x: float(x) / 10, # mm -> cm |
'dswrf': ident, # W/m^2 |
'rh': ident, |
'windgust': ident, #lambda x: x / 2.23694 # mph -> m/s |
test/service_tests/GHCND_V1_0/ghcnd-req.json
@@ -4,7 +4,7 @@ |
}, |
"parameter": [{ |
"name": "station_list", |
- "value": [["USC00141522", "Cimarron!!"], ["USC00256439", "Overton 3W"]] |
+ "value": ["USC00052635", "USC00052790"] |
}, { |
"name": "units", |
"value": "metric" |
test/service_tests/NARR_V1_0/narr-req.json
@@ -16,8 +16,8 @@ |
"geometry": { |
"type": "Point", |
"coordinates": [ |
- -104.9220085144043, |
- 40.53148031584938 |
+ -105.75, |
+ 39.9167 |
] |
} |
} |
@@ -25,10 +25,10 @@ |
} |
}, { |
"name": "units", |
- "value": "english" |
+ "value": "metric" |
}, { |
"name": "start_date", |
- "value": "1980-1-1" |
+ "value": "1981-1-1" |
}, { |
"name": "end_date", |
"value": "2014-12-31" |