[Paper Review] Data Management At the UKIRT and JCMT
This paper presents a unified data management system for the UKIRT and JCMT telescopes, centered on the ORAC-DR pipeline framework that enables instrument-agnostic, automated data reduction using reusable processing primitives. The system supports real-time and offline processing, provenance tracking via NDG/Provenance, and integration with flexible scheduling and science archives, enabling reduced data to be delivered within hours and significantly improving feedback loops for astronomers and instrument scientists.
For more than a decade the Joint Astronomy Centre has been developing software tools to simplify observing and make it possible to use the telescopes in many different operational modes. In order to support remote operations the data handling systems need to be in place to allow observation preparation, flexible queue scheduling, data quality pipelines and science archives all to be connected in a data-driven environment. We discuss the history of these developments at UKIRT and JCMT and how the decision to combine software development at both telescopes led each to get features that they could not have justified if they were treated independently.
Motivation & Objective
- To address the lack of reusability and maintainability in legacy data reduction systems at UKIRT and JCMT, which were instrument-specific and difficult to extend.
- To develop a shared software infrastructure that reduces development costs and accelerates feature deployment across both telescopes.
- To enable fast, automated data reduction with minimal user intervention, supporting remote and queue-scheduled observing.
- To implement robust provenance tracking for scientific data products to ensure reproducibility and auditability in the science archive.
- To close the feedback loop between data quality assessment at the summit and archive processing, allowing rapid response to instrument issues.
Proposed method
- Designing ORAC-DR as a generic, instrument-agnostic pipeline framework using reusable 'primitives' that represent high-level data processing operations such as flat-fielding or image combination.
- Integrating Starlink software components (e.g., ADAM message bus, NDF, NDG) for robust, low-level pixel processing with automatic history and variance propagation.
- Using frame objects to encapsulate metadata, file naming, and calibration knowledge per instrument, enabling dynamic and flexible data handling.
- Implementing a recipe-based system where human-readable recipes compose primitives with parameters, and the parser dynamically builds and caches executable pipelines.
- Embedding automatic status handling, debugging, and timing code into the pipeline at runtime without requiring changes to the recipe or primitive logic.
- Extending the NDG library to enable automatic, transparent provenance propagation from input to output files, with root provenance seeded by the pipeline and tracked through the full processing chain.
Experimental results
Research questions
- RQ1How can a single, reusable data reduction pipeline framework be designed to support multiple telescopes with distinct instruments and operational modes?
- RQ2What architectural patterns enable automated, instrument-agnostic data reduction while maintaining performance and extensibility?
- RQ3How can provenance of scientific data products be tracked end-to-end across complex processing chains without application-level boilerplate?
- RQ4In what ways does a unified data management system improve feedback cycles between observers, instrument scientists, and the science archive?
- RQ5What benefits arise from shared software development between two large, legacy telescopes with different observing modes and data characteristics?
Key findings
- The ORAC-DR pipeline enabled fully automated, instrument-agnostic data reduction using reusable primitives, significantly reducing the need for instrument-specific code and accelerating development.
- Provenance tracking was successfully implemented via the NDG library, allowing automatic propagation of input-to-output lineage without modifying individual processing applications.
- The system achieved full transparency in data processing, with all metadata, history, and provenance stored in FITS headers and accessible through the science archive.
- Data quality feedback loops were established: observations marked as 'bad' or 'junk' at the summit were excluded from archive processing, improving data integrity.
- The pipeline delivered reduced data within a few hours of observation, allowing astronomers to adjust their science programs before the next observing run.
- Shared development between UKIRT and JCMT led to mutual benefits, with features developed for one telescope becoming available to the other, increasing efficiency and reducing costs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.