220 likes | 375 Views
The ORAC-DR pipeline. Frossie Economou & Tim Jenness Joint Astronomy Centre, Hawaii. ORAC-DR. How it all started Design overview How to modify it. How it all started. UKIRT set up the ORAC project with the UK ATC to modernise observing software ORAC-OT: observation preparation
E N D
The ORAC-DR pipeline Frossie Economou & Tim Jenness Joint Astronomy Centre, Hawaii
ORAC-DR • How it all started • Design overview • How to modify it ORAC-DR
How it all started • UKIRT set up the ORAC project with the UK ATC to modernise observing software • ORAC-OT: observation preparation • ORAC-OM/OS: acquisition control • ORAC-DR: online data reduction ORAC-DR
The way it was • UKIRT early pioneer of online data reduction systems • Instrument specific packages tied to the acquisition software • Wheels were frequently re-invented • JCMT had no on-line data reduction facilities ORAC-DR
What UKIRT wanted to do • Have one DR system for all present and future UKIRT instruments • Minimize software effort required to cope with a new instrument • Take advantage of developments in the community • Maintain staff and user expectations of quality and robustness ORAC-DR
What JCMT wanted to do • SCUBA widened the traditional JCMT community • Flexible scheduling was introduced • These created a need for online data reduction software to allow inexperienced observers to monitor data quality ORAC-DR
Cunning plan • ORAC-DR was initially destined for UFTI… • … but we used CGS4 and SCUBA in the design • Very different instruments • Different acquisition systems • Different observing modes ORAC-DR
What’s it for • ORAC-DR is or will be the pipeline for • UFTI • SCUBA • IRCAM/TUFTI • CGS4 • MICHELLE • UIST • and more
Requirements • Flexibility • Extensibility • Robustness • Hardware is cheaper than people ORAC-DR
ORAC-DR components • Pipeline • Recipes and primitives • Messaging interface to algorithm engines ORAC-DR
Pipeline • perl • data detection • housekeeping ORAC-DR
Recipes • “English” (code is allowed but frowned upon) • Individual steps can be re-arranged at will • Edited with a text editor but could use a drag-and-drop style GUI ORAC-DR
Primitives • perl code • may contain other primitives • one astronomically meaningful step • order independent ORAC-DR
Object oriented design • Primitives query and/or manipulate a set of global objects • Frame • Group • Calibration • Display ORAC-DR
Frame object • Knows what the actual file is called • Generates output filenames • Knows about sub-frames associated with the observation ORAC-DR
Group object • Knows what the actual file is called ORAC-DR
Calibration object ORAC-DR
Display object ORAC-DR
Stuff that comes with ORAC-DR • oracman • oracdisp ORAC-DR
Adding instruments to ORAC-DR • Similar to present: 1-4 weeks • Different but same infrastructure: 6-8 months • Different with new infrastructure 8-12 months ORAC-DR
ORAC-DR wishlist • interface to the IRAF message bus • interface to glish • gui launchpad • gui recipe builder ORAC-DR