120 likes | 226 Views
The OCS Translator and Observing Queue. Tim Jenness. JCMT Interfaces Meeting / April 2nd-6th 2001. What does it do?. Converts Observing Tool output to format required by observing system Converts OT XML to TODD ODFs and SCUBA ODFs
E N D
The OCS Translator and Observing Queue Tim Jenness JCMT Interfaces Meeting / April 2nd-6th 2001
What does it do? • Converts Observing Tool output to format required by observing system • Converts OT XML to TODD ODFs and SCUBA ODFs • The Nexus between the high level system and the low level system
How does it run? • The Observing Manager (OM) asks for a Science Program to be translated • The OM receives the translated program (either as filenames or as the contents) and sends it to the queue
Why have a queue? • The TODD and SCUBA can only receive a single observation • Each Science Program may consist of multiple observations • Multiple science programs can be stacked up to form a science plan
What is the queue? • Currently a DRAMA task based on the SCUBA QUEMAN system • Stack based • At the moment just works with the TODD
System Design • OM uses CORBA to talk to the Translator “server” • OM uses DRAMA to talk to the queue • Queue uses plain socket to talk to the TODD • Queue UI monitors DRAMA parameters from TODD and Queue
Issues - translator • Needs to know the OT XML • Needs to know the required TODD inputs (currently assumes keyword/value ODFs) • Need to know whether a single XML file is required for the entire system or individual XML files for each subsystem
Issues - queue • Must be updated to work with SCUBA to replace QUEMAN • Might be better to re-write the queue as a CORBA server. Will need to support: • rescheduling actions (to monitor the TODD) • parameter monitoring • Would be interesting if the TODD used DRAMA or CORBA!
Summary • For TODD, translator needs to know requirements of each of the subsystems • For SCUBA, the ODF parameters fully specify the observation • Queue will have to be extended for use with SCUBA • Queue might be incorporated into the OM