diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/LBA-survey-observation-scheduling-unit-observation-strategy.json b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/LBA-survey-observation-scheduling-unit-observation-strategy.json new file mode 100644 index 0000000000000000000000000000000000000000..809d98e79ce1a8a8dc97d9bbd03da6a97d5a97bc --- /dev/null +++ b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/LBA-survey-observation-scheduling-unit-observation-strategy.json @@ -0,0 +1,803 @@ +{ + "tasks": { + "Ingest": { + "tags": [], + "description": "Ingest all preprocessed dataproducts", + "specifications_doc": {}, + "specifications_template": "ingest" + }, + "Pipeline target1": { + "tags": [], + "description": "Preprocessing Pipeline for Target Observation target1", + "specifications_doc": { + "flag": { + "rfi_strategy": "LBAdefault", + "outerchannels": true, + "autocorrelations": true + }, + "demix": { + "sources": {}, + "time_steps": 10, + "ignore_target": false, + "frequency_steps": 64 + }, + "average": { + "time_steps": 1, + "frequency_steps": 4 + }, + "storagemanager": "dysco" + }, + "specifications_template": "preprocessing pipeline" + }, + "Pipeline target2": { + "tags": [], + "description": "Preprocessing Pipeline for Target Observation target2", + "specifications_doc": { + "flag": { + "rfi_strategy": "LBAdefault", + "outerchannels": true, + "autocorrelations": true + }, + "demix": { + "sources": {}, + "time_steps": 10, + "ignore_target": false, + "frequency_steps": 64 + }, + "average": { + "time_steps": 1, + "frequency_steps": 4 + }, + "storagemanager": "dysco" + }, + "specifications_template": "preprocessing pipeline" + }, + "Pipeline target3": { + "tags": [], + "description": "Preprocessing Pipeline for Target Observation target3", + "specifications_doc": { + "flag": { + "rfi_strategy": "LBAdefault", + "outerchannels": true, + "autocorrelations": true + }, + "demix": { + "sources": {}, + "time_steps": 10, + "ignore_target": false, + "frequency_steps": 64 + }, + "average": { + "time_steps": 1, + "frequency_steps": 4 + }, + "storagemanager": "dysco" + }, + "specifications_template": "preprocessing pipeline" + }, + "Target Observation": { + "tags": [], + "description": "Target Observation for UC1 LBA scheduling unit", + "specifications_doc": { + "QA": { + "plots": { + "enabled": true, + "autocorrelation": true, + "crosscorrelation": true + }, + "file_conversion": { + "enabled": true, + "nr_of_subbands": -1, + "nr_of_timestamps": 256 + } + }, + "SAPs": [ + { + "name": "target1", + "subbands": [ + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 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, + 301, + 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, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338 + ], + "digital_pointing": { + "angle1": 0.6624317181687094, + "angle2": 1.5579526427549426, + "direction_type": "J2000" + } + }, + { + "name": "target2", + "subbands": [ + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 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, + 301, + 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, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338 + ], + "digital_pointing": { + "angle1": 0.6624317181687094, + "angle2": 1.5579526427549426, + "direction_type": "J2000" + } + }, + { + "name": "target3", + "subbands": [ + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 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, + 301, + 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, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338 + ], + "digital_pointing": { + "angle1": 0.6624317181687094, + "angle2": 1.5579526427549426, + "direction_type": "J2000" + } + } + ], + "filter": "LBA_30_90", + "duration": 120, + "correlator": { + "storage_cluster": "CEP4", + "integration_time": 1, + "channels_per_subband": 64 + }, + "antenna_set": "LBA_SPARSE_EVEN", + "station_groups": [ + { + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ], + "max_nr_missing": 4 + }, + { + "stations": [ + "RS508", + "RS509" + ], + "max_nr_missing": 1 + }, + { + "stations": [ + "RS310", + "RS210" + ], + "max_nr_missing": 0 + } + ] + }, + "specifications_template": "target observation" + }, + "Calibrator Pipeline": { + "tags": [], + "description": "Preprocessing Pipeline for Calibrator Observation", + "specifications_doc": { + "flag": { + "rfi_strategy": "LBAdefault", + "outerchannels": true, + "autocorrelations": true + }, + "demix": { + "sources": {}, + "time_steps": 10, + "ignore_target": false, + "frequency_steps": 64 + }, + "average": { + "time_steps": 1, + "frequency_steps": 4 + }, + "storagemanager": "dysco" + }, + "specifications_template": "preprocessing pipeline" + }, + "Calibrator Observation": { + "tags": [], + "description": "Calibrator Observation for UC1 LBA scheduling unit", + "specifications_doc": { + "name": "calibrator", + "duration": 120, + "pointing": { + "angle1": 0.6624317181687094, + "angle2": 1.5579526427549426, + "direction_type": "J2000" + }, + "autoselect": false + }, + "specifications_template": "calibrator observation" + } + }, + "parameters": [ + { + "name": "Target Pointing 1", + "refs": [ + "#/tasks/Target Observation/specifications_doc/SAPs/0/digital_pointing" + ] + }, + { + "name": "Target Pointing 2", + "refs": [ + "#/tasks/Target Observation/specifications_doc/SAPs/1/digital_pointing" + ] + }, + { + "name": "Target Pointing 3", + "refs": [ + "#/tasks/Target Observation/specifications_doc/SAPs/2/digital_pointing" + ] + }, + { + "name": "Time averaging steps", + "refs": [ + "#/tasks/Pipeline target1/specifications_doc/average/time_steps", + "#/tasks/Pipeline target2/specifications_doc/average/time_steps", + "#/tasks/Pipeline target3/specifications_doc/average/time_steps" + ] + }, + { + "name": "Frequency averaging steps", + "refs": [ + "#/tasks/Pipeline target1/specifications_doc/average/frequency_steps", + "#/tasks/Pipeline target2/specifications_doc/average/frequency_steps", + "#/tasks/Pipeline target3/specifications_doc/average/frequency_steps" + ] + }, + { + "name": "Demix sources", + "refs": [ + "#/tasks/Pipeline target1/specifications_doc/demix/sources", + "#/tasks/Pipeline target2/specifications_doc/demix/sources", + "#/tasks/Pipeline target3/specifications_doc/demix/sources" + ] + } + ], + "task_relations": [ + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "correlator", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Calibrator Pipeline", + "producer": "Calibrator Observation", + "selection_doc": {}, + "selection_template": "all" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "correlator", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Pipeline target1", + "producer": "Target Observation", + "selection_doc": { + "sap": [ + "target1" + ] + }, + "selection_template": "SAP" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "correlator", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Pipeline target2", + "producer": "Target Observation", + "selection_doc": { + "sap": [ + "target2" + ] + }, + "selection_template": "SAP" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "correlator", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Pipeline target3", + "producer": "Target Observation", + "selection_doc": { + "sap": [ + "target3" + ] + }, + "selection_template": "SAP" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Ingest", + "producer": "Calibrator Pipeline", + "selection_doc": {}, + "selection_template": "all" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Ingest", + "producer": "Pipeline target1", + "selection_doc": {}, + "selection_template": "all" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Ingest", + "producer": "Pipeline target2", + "selection_doc": {}, + "selection_template": "all" + }, + { + "tags": [], + "input": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "output": { + "role": "any", + "datatype": "visibilities", + "dataformat": "MeasurementSet" + }, + "consumer": "Ingest", + "producer": "Pipeline target3", + "selection_doc": {}, + "selection_template": "all" + } + ], + "task_scheduling_relations": [ + { + "first": "Calibrator Observation", + "second": "Target Observation", + "placement": "parallel", + "time_offset": 0 + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/templates.json b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/templates.json index d8fe7a85ae211f6094b9a8313c227125b44db0f5..dcb9bbdaf623482c179ed15ed80256043c4c9e2b 100644 --- a/SAS/TMSS/backend/src/tmss/tmssapp/schemas/templates.json +++ b/SAS/TMSS/backend/src/tmss/tmssapp/schemas/templates.json @@ -299,6 +299,14 @@ "name": "VLBI session", "description": "VLBI session ongoing. International station network not available.", "version": 1 + }, + { + "file_name": "LBA-survey-observation-scheduling-unit-observation-strategy.json", + "template": "scheduling_unit_observing_strategy_template", + "scheduling_unit_template_name": "scheduling unit", + "scheduling_unit_template_version": "1", + "name": "IM LBA Survey Strategy - 3 Beams", + "description": "LBA Imaging Observing Strategy using 3 Beams and a parallel Calibrator Beam with a preprocessing pipeline for each, used for the LOFAR LBA Survey and LBA Co-Observing.", + "version": 1 } - ]