Skip to content
Snippets Groups Projects
Commit bca5c831 authored by Jan David Mol's avatar Jan David Mol
Browse files

TMSS-379: Station specifications start focussing on groups & max missing....

TMSS-379: Station specifications start focussing on groups & max missing. Fixed station lists are a custom group with 0 missing.
parent db26428f
No related branches found
No related tags found
2 merge requests!260syncing cob-master with master again,!247Resolve TMSS-379 "Input"
......@@ -68,7 +68,6 @@
]
},
"station_list":{
"title":"fixed station list",
"default":[
"CS001"
],
......@@ -78,56 +77,55 @@
"items":{
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station"
},
"minItems":1,
"minItems":0,
"uniqueItems":true
},
"station_set":{
"title":"dynamic station set",
"station_group":{
"title":"Station group",
"type":"object",
"default":{},
"additionalProperties":false,
"properties":{
"group":{
"name":{
"type":"string",
"title":"Group name",
"description":"Which group to select from",
"default":"ALL"
},
"stations":{
"type":"string",
"title":"StationGroup",
"description":"Which (group of) station(s) to select from",
"default":"ALL",
"enum":[
"ALL",
"SUPERTERP",
"CORE",
"REMOTE",
"DUTCH",
"INTERNATIONAL"
]
"title":"Stations",
"description":"Which stations belong to this group",
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_list"
},
"min_stations":{
"max_missing":{
"type":"integer",
"title":"Minimum nr of stations",
"description":"Number of stations to use within group/station",
"default":1,
"title":"Maximum nr of stations to omit",
"description":"Number of stations that can be omitted within group",
"default":0,
"minimum":0
}
},
"required":[
"group",
"min_stations"
"name",
"max_missing"
]
},
"stations": {
"title":"stations",
"description":"Use either the fixed station list, or one of the dynamic station sets.",
"oneOf": [ {
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_list"
},
{
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_set"
}
],
"default": {
"title":"Stations",
"type":"array",
"additionalItems":false,
"additionalProperties":false,
"description": "Station selection constraints",
"items":{
"$ref": "http://tmss.lofar.org/api/schemas/commonschematemplate/stations/1#/definitions/station_group"
},
"minItems":1,
"default": [ {
"group": "ALL",
"min_stations": 1
}
"stations": [],
"max_missing": 0
} ]
},
"antenna_set":{
"type":"string",
......@@ -163,4 +161,4 @@
]
}
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment