...
The VLA Data Sender could be integrated in the OST. However, it is complex to make changes to OST, and it is a good feature to be able to be used if manual scripts are executed (outside the Dynamic Scheduling mode).
App flow description
Loop done each cycle time:
- if there is no on-going observation, check the newest schedule created. If the start time is less than 20 min from now, send message. Otherwise, do nothing.
- END CYCLE
- if there is an on-going observation, compare it to the last DB message sent. If there is an update, send a new message.
- If the observation end-time is <= 20 min, check next starting observation. If next observation is starting <= 20 min from current time, send a new message. Otherwise, do nothing.
- END CYCLE
- If the observation end-time is <= 20 min, check next starting observation. If next observation is starting <= 20 min from current time, send a new message. Otherwise, do nothing.
"Message" here understood as all on-going observations plus the ones starting <= 20 min. The messages sent are buffered locally up 20 minutes. View file name vla_data_sender.svg height 250
JSON keys
The JSON keys are detailed in the ODS API documentation. More information at ODS Database API Operation Description.
...