SAH-1500: Add latest OET-TMC low Configure schema
- This MR contains changes required to create OET-TMC schema for latest low Configure json.
- Added validations for MCCS, CSP and SDP configurations.
- Added unit test cases to cover the valid and invalid values for the added schema.
- Agreed OET-TMC latest json is
LOW_TMC_CONFIGURE_3_2 = > {
"interface": "https://schema.skao.int/ska-low-tmc-configure/3.2", "transaction_id": "txn-....-00001", "mccs": { "subarray_beams": [ { "subarray_beam_id": 1, "update_rate": 0.0, "logical_bands": [ {"start_channel": 80, "number_of_channels": 16}, {"start_channel": 384, "number_of_channels": 16}, ], "apertures": [ { "aperture_id": "AP001.01", "weighting_key_ref": "aperture2", }, { "aperture_id": "AP001.02", "weighting_key_ref": "aperture3", }, { "aperture_id": "AP002.01", "weighting_key_ref": "aperture2", }, { "aperture_id": "AP002.02", "weighting_key_ref": "aperture3", }, { "aperture_id": "AP003.01", "weighting_key_ref": "aperture1", }, ], "sky_coordinates": { "reference_frame": "ICRS", "c1": 180.0, "c2": 45.0, }, } ], }, "sdp": { "interface": "https://schema.skao.int/ska-sdp-configure/0.4", "scan_type": "science_A", }, "csp": { "interface": "https://schema.skao.int/ska-low-csp-configurescan/0.0", "common": { # reference CT-1243 "config_id": "sbi-mvp01-20200325-00001-science_A", }, "lowcbf": { "stations": { "stns": [[1, 1], [2, 1], [3, 1], [4, 1], [5, 1], [6, 1]], "stn_beams": [{"beam_id": 1, "freq_ids": [400]}], }, "vis": { "fsp": {"firmware": "vis", "fsp_ids": [1]}, "stn_beams": [ { "stn_beam_id": 1, "integration_ms": 849, } ], }, }, }, "tmc": {"scan_duration": 10.0},
}
Edited by shraddhabajare