Json Command Input
The following Json string are used as command input in our integration tests to vallidate the Mid CSP.LMC behavior.
LoadDishCfg JSON MAP
Json string contains the DishId-VCC map content:
{
"interface": "https://schema.skao.int/ska-mid-cbf-initsysparam/1.0",
"dish_parameters": {
"SKA001": {
"vcc": 1,
"k" : 11
},
"SKA036": {
"vcc": 2,
"k" : 101
},
"SKA063": {
"vcc": 3,
"k" : 1127
},
"SKA100": {
"vcc": 4,
"k" : 620
}
}
}
LoadDishCfg CAR URI
Json string contains the DishId-VCC map CAR URI:
{
"interface": "https://schema.skao.int/ska-mid-cbf-initsysparam/1.0",
"tm_data_sources": ["car://gitlab.com/ska-telescope/ska-telmodel-data?ska-sdp-tmlite-repository-1.0.0#tmdata"],
"tm_data_filepath": "instrument/ska1_mid_psi/ska-mid-cbf-system-parameters.json"
}
Assign Resources
{
"subarray_id": 1,
"dish":{
"receptor_ids":["SKA001", "SKA036", "SKA063", "SKA100"]
}
}
Release Resources
{
"subarray_id": 1,
"dish":{
"receptor_ids":["SKA001"]
},
}
Configure
{
"interface": "https://schema.skao.int/ska-csp-configure/2.0",
"subarray": {
"subarray_name": "science period 23"
},
"common": {
"config_id": "sbi-mvp01-20200325-00001-science_A",
"frequency_band": "1",
"subarray_id": 1
},
"cbf": {
"delay_model_subscription_point": "ska_mid/tm_leaf_node/csp_subarray_01/delayModel",
"fsp": [
{
"fsp_id": 1,
"function_mode": "CORR",
"frequency_slice_id": 1,
"integration_factor": 1,
"zoom_factor": 0,
"channel_averaging_map": [
[0, 2],
[744, 0]
],
"channel_offset": 0,
"output_link_map": [
[0, 0],
[200, 1]
]
},
{
"fsp_id": 2,
"function_mode": "CORR",
"frequency_slice_id": 2,
"integration_factor": 1,
"zoom_factor": 1,
"zoom_window_tuning": 650000,
"channel_averaging_map": [
[0, 2],
[744, 0]
],
"channel_offset": 744,
"output_link_map": [
[0, 4],
[200, 5]
],
"output_host": [
[0, "192.168.1.1"]
],
"output_port": [
[0, 9744, 1]
]
}
],
"vlbi": {}
},
"pss": {
"pss_beams": [
{
"pss_beam": 1
},
{
"pss_beam": 2
}
]
},
"pst": {},
"pointing": {
"target": {
"system": "ICRS",
"target_name": "Polaris Australis",
"ra": "21:08:47.92",
"dec": "-88:57:22.9"
}
}
}
Scan
{
"interface": "https://schema.skao.int/ska-csp-scan/2.2",
"scan_id": 11
}