-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
afabiani
committed
Feb 16, 2017
1 parent
337a956
commit 14075ba
Showing
7 changed files
with
438 additions
and
0 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
src/wpsremote/xmpp_data/test/CMREOAA_MainConfigFile_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
{ | ||
"Config": { | ||
"randomSeed": 0.345597888, | ||
"evaluatorAMGA2": "evaluateAMGA2", | ||
"latLim": [ | ||
0, | ||
20 | ||
], | ||
"lonLim": [ | ||
50, | ||
70 | ||
], | ||
"debugMode": 0, | ||
"acceptanceThreshold": -1, | ||
"pathFilename": "tracks.csv", | ||
"postprocessorAMGA2": "postprocessAMGA2", | ||
"nConstr": 0, | ||
"waypointFilename": "waypoints.csv", | ||
"eliteSize": 50, | ||
"costName": [ | ||
"Average R_w", | ||
"Average Area Coverage", | ||
"Total Cost" | ||
], | ||
"loadStructInstrList": [ | ||
{ | ||
"name": "riskStruct", | ||
"nanValue": 9999, | ||
"source": "InputData/PAGMaps/", | ||
"reader": "geotiff", | ||
"type": "dynamicgrid", | ||
"FieldValue": { | ||
"isTimeDependent": 1 | ||
} | ||
}, | ||
{ | ||
"reader": "coast", | ||
"type": "staticconstraint", | ||
"FieldValue": { | ||
"allowInside": 0, | ||
"isTimeDependent": 0, | ||
"hard": 1, | ||
"name": "coastline" | ||
}, | ||
"name": "staticConstraint" | ||
}, | ||
{ | ||
"type": "staticconstraint", | ||
"name": "staticConstraint", | ||
"FieldValue": { | ||
"name": "bbox", | ||
"hard": 1, | ||
"lon": [ | ||
50, | ||
70, | ||
70, | ||
50, | ||
50 | ||
], | ||
"lat": [ | ||
20, | ||
20, | ||
0, | ||
0, | ||
20 | ||
], | ||
"isTimeDependent": 0, | ||
"allowInside": 1 | ||
} | ||
}, | ||
{ | ||
"source": "/tmp/", | ||
"type": "asset", | ||
"name": "Asset", | ||
"reader": "json" | ||
} | ||
], | ||
"proj": { | ||
"projVarList": [ | ||
[ | ||
"x", | ||
"y" | ||
], | ||
[ | ||
"xLim", | ||
"yLim" | ||
], | ||
[ | ||
"xV", | ||
"yV" | ||
], | ||
[ | ||
"x0", | ||
"y0" | ||
] | ||
], | ||
"geoVarList": [ | ||
[ | ||
"lat", | ||
"lon" | ||
], | ||
[ | ||
"latLim", | ||
"lonLim" | ||
], | ||
[ | ||
"latV", | ||
"lonV" | ||
], | ||
[ | ||
"lat0", | ||
"lon0" | ||
] | ||
] | ||
}, | ||
"paretoFile": "pareto_AMGA2.dat", | ||
"decoderAMGA2": "decodeAMGA2_hs", | ||
"optimizer": "optimizeAMGA2", | ||
"stopSurveillanceAtLastWP": 0, | ||
"showEachXeval": { | ||
"X": 10, | ||
"t_start": 0 | ||
}, | ||
"preprocessorAMGA2": "preprocessAMGA2_hs", | ||
"nEvaluations": 0, | ||
"extSolFilename": "", | ||
"waypointSamplingPeriod": 10800, | ||
"refDate": "2014-08-01T00:00:00Z", | ||
"downSamplingAssetTrajectoryRate": 3, | ||
"timeHorizon": 0, | ||
"costFilename": "costs.csv", | ||
"pathSamplingPeriod": 1800 | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
src/wpsremote/xmpp_data/test/OAAonDemandWrapper_template.properties.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[DEFAULT] | ||
|
||
|
||
class_name = oaaWrapper.OAAWrapper | ||
|
||
runname=OAAIndianOceanNOAAWW3 | ||
|
||
root_working_dir={{workdir}}\ | ||
daily_working_dir = %(root_working_dir)s | ||
|
||
executable=foo/executable.exe | ||
|
||
#if main_config_dir is empty files are already present in %(root_working_dir)s | ||
main_config_dir= | ||
config_file = config.json | ||
config_file_path = %(root_working_dir)s%(config_file)s | ||
|
||
|
||
retrive_init_position_up_to_days_ago = 3 | ||
|
||
oaa_cmd = %(executable)s %(daily_working_dir)s%(config_file)s | ||
|
||
input_data_dir = %(daily_working_dir)sInputData\PAGMaps\ | ||
|
||
tracks_file = tracks.csv | ||
output_tracks_file = %(daily_working_dir)s%(tracks_file)s | ||
|
||
waypoints_file = waypoints.csv | ||
output_waypoints_file = %(daily_working_dir)s%(waypoints_file)s | ||
|
||
costs_file = costs.csv | ||
output_costs_file = %(daily_working_dir)s%(costs_file)s | ||
|
||
tracks_file_filtered = tracks_filtered.csv | ||
output_tracks_file_filtered = %(daily_working_dir)s%(tracks_file_filtered)s | ||
|
||
|
||
cost_weight= | ||
|
||
set_asset_initial_position_from_previous_runs=False | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"Asset": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 10, | ||
"exclusiveMaximum": false | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string" | ||
}, | ||
"minSpeed": { | ||
"type": "number" | ||
}, | ||
"maxSpeed": { | ||
"type": "number" | ||
}, | ||
"maxHeading": { | ||
"type": "number" | ||
}, | ||
"minHeading": { | ||
"type": "number" | ||
}, | ||
"lat0": { | ||
"type": "number" | ||
}, | ||
"lon0": { | ||
"type": "number" | ||
}, | ||
"heading0": { | ||
"type": "number" | ||
}, | ||
"cost": { | ||
"type": "number" | ||
}, | ||
"obsRange": { | ||
"type": "number" | ||
}, | ||
"Pd": { | ||
"type": "number" | ||
}, | ||
"Pfa": { | ||
"type": "number" | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/wpsremote/xmpp_data/test/geoserverCommands_template.properties.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[DEFAULT] | ||
|
||
class_name = geoserverCommands.GeoserverCommands | ||
|
||
workdir = {{workdir}}\ | ||
|
||
waypoint_file_name = waypoints.csv | ||
tracks_file_name = tracks_filtered.csv | ||
costs_file_name = costs.csv | ||
|
||
geoserver_xml_template_filepath = geoserverLoadOAAOutput.xml | ||
geoserver_xml_output_filepath = {{workdir}}\geoserverLoadOAAOutput.xml | ||
|
||
unique_id = c5b4e49463e3f6cc52b20cad84b916a5_6372f7586782d53aac853e492c77aa55 | ||
geoserver_layers_namespace = remotewps_oaa | ||
|
||
geoserver_tracks_layer_name = oaa_tracks_%(unique_id)s.csv | ||
tracks_outfile_url = file:/storage/remoteWPS_data/AssetAllocatorOnDemand/runs/%(unique_id)s/%(geoserver_tracks_layer_name)s | ||
|
||
geoserver_waypoint_layer_name = oaa_waypoint_%(unique_id)s.csv | ||
waypoint_outfile_url = file:/storage/remoteWPS_data/AssetAllocatorOnDemand/runs/%(unique_id)s/%(geoserver_waypoint_layer_name)s |
9 changes: 9 additions & 0 deletions
9
src/wpsremote/xmpp_data/test/oaaOnDemand_template.properties.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[DEFAULT] | ||
|
||
extract=wcsOAAonDemand.properties | ||
|
||
transform = OAAonDemandWrapper.properties | ||
|
||
load_1 = GeoserverCommands.properties | ||
|
||
durations = [10,80,10] |
Oops, something went wrong.