Json Command Input Templates
The following templates can be used as input for the specific command. They are those used in Mid CSP.LMC integration tests.
Assign Resources
{
"interface": "https://schema.skao.int/ska-csp-assignresources/2.0",
"common": {
"subarray_id": 1
},
"lowcbf":{
"resources": [
{
"device":"fsp_01",
"shared":true,
"fw_image": "pst",
"fw_mode":"unused"
},
{
"device":"p4_01",
"shared":true,
"fw_image": "p4.bin",
"fw_mode":"p4"
}
]
},
"lowpss": {
"beams_id":[1 ,2 ,3]
},
"pst":{
"beams_id":[1]
}
}
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",
"subarray_id": 1
},
"lowcbf": {
"stations": {
"stns": [
[1,0], [2,0], [3,0], [4,0]
],
"stn_beams": [
{
"beam_id": 1,
"freq_ids": [64,65,66,67,68,68,70,71],
"boresight_dly_poly": "url"
}
]
},
"timing_beams": {
"beams": [
{
"pst_beam_id": 1,
"stn_beam_id": 1,
"offset_dly_poly": "url",
"stn_weights": [ 0.9, 1.0, 1.0, 0.9],
"jones": "url",
"dest_ip": ["10.22.0.1:2345","10.22.0.3:3456"],
"dest_chans": [128,256],
"rfi_enable": [ true, true, true ],
"rfi_static_chans": [ 1,206,997 ],
"rfi_dynamic_chans": [242, 1342 ],
"rfi_weighted": 0.87
}
]
},
"search_beams":"tbd",
"zooms":"tbd"
},
"lowpss": {
"beams" : [
{
"beam_id" : 1,
"dummy": "test"
}
]
},
"pst": {
"beams" : [
{
"beam_id": 1,
"scan": {
"activation_time": "2022-01-19T23:07:45Z",
"bits_per_sample": 32,
"num_of_polarizations": 2,
"udp_nsamp": 32,
"wt_nsamp": 32,
"udp_nchan": 24,
"num_frequency_channels": 432,
"centre_frequency": 1000000000.0,
"total_bandwidth": 1562500.0,
"observation_mode": "VOLTAGE_RECORDER",
"observer_id": "jdoe",
"project_id": "project1",
"pointing_id": "pointing1",
"source": "J1921+2153",
"itrf": [
5109360.133,
2006852.586,
-3238948.127
],
"receiver_id": "receiver3",
"feed_polarization": "CIRC",
"feed_handedness": 1,
"feed_angle": 10.0,
"feed_tracking_mode": "FA",
"feed_position_angle": 0.0,
"oversampling_ratio": [ 4, 3 ],
"coordinates": {
"ra": "19:21:44.815",
"dec": "21.884"
},
"max_scan_length": 300.0,
"subint_duration": 30.0,
"receptors": [ "receptor1" ],
"receptor_weights": [ 1.0 ],
"num_rfi_frequency_masks": 0,
"rfi_frequency_masks": [],
"destination_address": [ "192.168.178.26", 9021 ],
"test_vector_id": "test_vector_id",
"num_channelization_stages": 1,
"channelization_stages": [
{
"num_filter_taps": 1,
"filter_coefficients": [ 1.0 ],
"num_frequency_channels": 10,
"oversampling_ratio": [ 4, 3 ]
}
]
}
}
]
}
}
Scan
{
"common": {
"subarray_id": 1
},
"lowcbf": {
"scan_id":987654321,
"unix_epoch_seconds": 1616971738,
"timestamp_ns": 987654321,
"packet_offset": 123456789,
"scan_seconds": 30
}
}