Skip to content
Snippets Groups Projects
Commit 083e8dfe authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2541: added lofar2station specification schema, and lofar2 IM 1 beam template

parent 396ccb99
Branches TMSS-2541
Tags
1 merge request!1134Draft: TMSS-2541: implemented method is_used_in_unfinised_tasks and added tests to...
{
"description": "This schema defines the structure of a specification document for Lofar2 stations",
"name": "lofar2station",
"purpose": "technical_commissioning",
"schema": {
"$id": "https://tmss.lofar.eu/api/schemas/commonschematemplate/lofar2station/1#",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"default": {},
"description": "This schema defines the structure of a specification document for Lofar2 stations",
"patternProperties": {
"^[$]schema$": {}
},
"properties": {
"SAPs": {
"default": [
{}
],
"items": {
"sap": {
"default": {},
"properties": {
"pointing": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/pointing/9#/definitions/pointing",
"default": {}
},
"subbands": {
"default": [
0
],
"items": {
"maximum": 511,
"minimum": 0,
"type": "number"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"subbands",
"pointing"
],
"type": "object"
}
},
"minItems": 1,
"type": "array"
},
"antenna_field": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/10/#/definitions/antenna_field",
"default": {}
},
"antenna_set": {
"default": "ALL",
"description": "Fields & antennas to use",
"enum": [
"ALL",
"INNER",
"OUTER",
"SPARSE_EVEN",
"SPARSE_ODD"
],
"type": "string"
},
"early_start_latency": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/datetime/10#/definitions/timedelta",
"default": 2,
"description": "Number of seconds to start before the provided start time, to account for initialising the on-line signal chain, and for possibly negative geometrical delay compensation.",
"minimum": 0
},
"filter": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/10/#/definitions/filter",
"default": "HBA_110_190"
},
"first_beamlet": {
"default": 0,
"minimum": 0,
"type": "number"
},
"observation_id": {
"default": 1,
"minimum": 1,
"type": "number"
},
"start_time": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/datetime/10#/definitions/timestamp"
},
"stop_time": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/datetime/10#/definitions/timestamp",
"default": "2100-01-01T00:00:00Z"
},
"tile_beam": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/pointing/9#/definitions/pointing",
"default": {}
}
},
"required": [
"observation_id",
"stop_time",
"antenna_field",
"antenna_set",
"filter",
"SAPs"
],
"title": "lofar2station",
"type": "object",
"version": 1
},
"state": "active",
"version": 1
}
......@@ -60,31 +60,8 @@
"title": "SAPs",
"type": "array"
},
"antenna_set": {
"default": "HBA_DUAL",
"description": "Fields & antennas to use",
"enum": [
"HBA_DUAL",
"HBA_DUAL_INNER",
"HBA_ONE",
"HBA_ONE_INNER",
"HBA_ZERO",
"HBA_ZERO_INNER",
"LBA_INNER",
"LBA_OUTER",
"LBA_SPARSE_EVEN",
"LBA_SPARSE_ODD",
"LBA_ALL"
],
"title": "Antenna set",
"type": "string"
},
"antennas": {
"description": "Structure to describe a set of specific antennafields",
"properties": {
"fields": {
"default": [],
"items": {
"antenna_field": {
"default": {},
"properties": {
"field": {
"default": "HBA",
......@@ -98,7 +75,8 @@
"type": "string"
},
"station": {
"$ref": "#/definitions/station"
"$ref": "#/definitions/station",
"default": "CS001"
},
"type": {
"default": "HBA",
......@@ -118,6 +96,34 @@
"title": "Field",
"type": "object"
},
"antenna_set": {
"default": "HBA_DUAL",
"description": "Fields & antennas to use",
"enum": [
"HBA_DUAL",
"HBA_DUAL_INNER",
"HBA_ONE",
"HBA_ONE_INNER",
"HBA_ZERO",
"HBA_ZERO_INNER",
"LBA_INNER",
"LBA_OUTER",
"LBA_SPARSE_EVEN",
"LBA_SPARSE_ODD",
"LBA_ALL"
],
"title": "Antenna set",
"type": "string"
},
"antennas": {
"description": "Structure to describe a set of specific antennafields",
"properties": {
"fields": {
"default": [],
"items": {
"$ref": "#/definitions/antenna_field",
"default": {}
},
"title": "Fields",
"type": "array"
},
......
{
"description": "lofar2 test observation - IM HBA 1 beam",
"name": "Lofar2 IM HBA 1 beam",
"purpose": "technical_commissioning",
"scheduling_unit_template": {
"name": "scheduling unit",
"version": 8
},
"state": "development",
"template": {
"$schema": "https://tmss.lofar.eu/api/schemas/schedulingunittemplate/scheduling%20unit/8/ref_resolved",
"parameters": [
{
"name": "Stations",
"refs": [
"#/tasks/Target Observation/specifications_doc/station_configuration/station_groups"
]
},
{
"name": "Scheduling Constraints",
"refs": [
"#/scheduling_constraints_doc"
]
},
{
"name": "Observation Description",
"refs": [
"#/tasks/Target Observation/short_description"
]
},
{
"name": "Target Pointing",
"refs": [
"#/tasks/Target Observation/specifications_doc/station_configuration/SAPs/0/digital_pointing",
"#/tasks/Target Observation/specifications_doc/station_configuration/tile_beam"
]
},
{
"name": "Subbands",
"refs": [
"#/tasks/Target Observation/specifications_doc/station_configuration/SAPs/0/subbands"
]
},
{
"name": "Target Duration",
"refs": [
"#/tasks/Target Observation/specifications_doc/duration"
]
},
{
"name": "Run Adder",
"refs": [
"#/tasks/Target Observation/specifications_doc/QA/plots/enabled",
"#/tasks/Target Observation/specifications_doc/QA/file_conversion/enabled"
]
}
],
"scheduling_constraints_doc": {
"daily": {
"avoid_twilight": false,
"require_day": false,
"require_night": false
},
"location": "center",
"scheduler": "dynamic",
"sky": {
"min_distance": {
"jupiter": 0,
"moon": 0,
"sun": 0
},
"min_elevation": {
"calibrator": 0.05235987755982988,
"target": 0.05235987755982988
},
"reference_pointing": {
"enabled": false
},
"transit_offset": {
"from": -43200,
"to": 43200
}
},
"time": {
"between": [],
"not_between": []
}
},
"scheduling_constraints_template": {
"name": "constraints",
"version": 7
},
"task_relations": [
{
"consumer": "Cleanup",
"input": {
"dataformat": "MeasurementSet",
"datatype": "visibilities",
"role": "any"
},
"output": {
"dataformat": "MeasurementSet",
"datatype": "visibilities",
"role": "correlator"
},
"producer": "Target Observation",
"selection_doc": {},
"selection_template": {
"name": "all",
"version": 6
}
}
],
"task_scheduling_relations": [],
"tasks": {
"Cleanup": {
"description": "Clean up all dataproducts from disk after ingest",
"short_description": "",
"specifications_doc": {},
"specifications_template": {
"name": "cleanup",
"version": 7
}
},
"Target Observation": {
"description": "Target Observation",
"short_description": "_Target_Name_",
"specifications_doc": {
"QA": {
"file_conversion": {
"enabled": false,
"nr_of_subbands": -1,
"nr_of_timestamps": 256
},
"inspection_plots": "msplots",
"plots": {
"autocorrelation": true,
"crosscorrelation": true,
"enabled": false
}
},
"correlator": {
"channels_per_subband": 64,
"integration_time": 1,
"storage_cluster": "CEP4",
"topocentric_frequency_correction": false
},
"duration": 60,
"station_configuration": {
"SAPs": [
{
"digital_pointing": {
"angle1": 3.280425596160204,
"angle2": 1.5579526427549426,
"direction_type": "J2000",
"target": "target1"
},
"name": "target",
"subbands": [
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
182,
183,
184,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
212,
213,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255,
257,
258,
259,
260,
261,
262,
263,
264,
265,
266,
267,
268,
269,
270,
271,
272,
273,
275,
276,
277,
278,
279,
280,
281,
282,
283,
284,
285,
286,
287,
288,
289,
290,
291,
292,
293,
294,
295,
296,
297,
298,
299,
300,
302,
303,
304,
305,
306,
307,
308,
309,
310,
311,
312,
313,
314,
315,
316,
317,
318,
319,
320,
321,
322,
323,
324,
325,
326,
327,
328,
330,
331,
332,
333,
334,
335,
336,
337,
338,
339,
340,
341,
342,
343,
344,
345,
346,
347,
349,
364,
372,
380,
388,
396,
404,
413,
421,
430,
438,
447
]
}
],
"antenna_set": "HBA_ZERO",
"filter": "HBA_110_190",
"station_groups": [
{
"max_nr_missing": 0,
"stations": [
"CS001"
]
}
],
"tile_beam": {
"angle1": 3.280425596160204,
"angle2": 1.5579526427549426,
"direction_type": "J2000",
"target": "target1"
}
}
},
"specifications_template": {
"name": "target observation",
"version": 9
}
}
}
},
"version": 1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment