4. Legacy References
This document provides a comprehensive comparison between the legacy MaroonX HDF5-based pipeline products and the new DRAGONS FITS-based pipeline products.
4.1. File Structure Overview
The DRAGONS pipeline produces FITS files organized by extensions, while the legacy pipeline used HDF5 format with hierarchical group structures. This section maps legacy HDF5 datasets to their DRAGONS FITS extension equivalents.
4.1.1. Legacy File Naming Convention
Native MAROON-X raw files follow this naming pattern:
YYYYMMDDTHHmmSSZ_SSSSS_C_nnnn.fits. Example:20250717T144308Z_SOOOE_b_0300.fits
Where:
YYYYMMDD- UT date of exposure start
HHmmSS- UT time of exposure start
SSSSS- Light source configuration for each of the five MAROON-X fibers:
D- Dark
F- Flat field
O- Object (stellar target)
S- Sky background (fiber 1 only)
E- Etalon comb
T- ThAr arc
I- Iodine cell
L- Laser Frequency Comb
C- Camera arm (b= blue,r= red)
nnnn- Exposure time in integer seconds
Common exposure types:
SOOOE- Science exposure (Sky, Object, Etalon)
DDDDE- Dark frame (exposure > 30s) or drift tracking (< 30s)
DEEEE- Etalon wavelength calibration
DTTT?- ThAr arc calibration
DFFFD- Flat field (science fibers only)
FDDDF- Flat field (sky and calibration fibers)
DDDDF- Flat field (some FDDDF cases have fiber 1 un-lit)
DLLLL- Laser frequency comb calibration
4.1.2. Gemini Observatory Archive Naming convention
NYYYYMMDDMnnnn.fits. Example:N20250717M5299.fits
Where N = Gemini North, M = MAROON-X, and nnnn is a sequential counter
within each UT day. This is a MEF container for the BLUE (index 0) and RED (index 1) files, which can be restored
to the native format using the processBundle recipe.
>>> import astrodata
>>> import maroonx_instruments
>>> ad = astrodata.open('N20250717M5299.fits')
>>> ad.info()
Filename: N20250717M5299.fits
Tags: 300s BUNDLE GEMINI MAROONX NORTH RAW SCI SPECT UNPREPARED
Pixels Extensions
Index Content Type Dimensions Format
[ 0] science NDAstroData (4400, 4400) uint16
[ 1] science NDAstroData (4400, 4400) uint16
Other Extensions
Type Dimensions
.EXPOSUREMETER Table (1027, 3)
Note
The order of the arms in the bundle is ALWAYS guaranteed to be BLUE, ad[0], then RED, ad[1].
4.2. Dark Frame Products
4.2.1. Raw Darks
4.2.2. Master Darks
4.2.3. Dark Coefficient Files
4.2.4. Synthetic Darks
4.3. Flat Field Products
4.3.1. Raw Flats
4.3.2. Master Flats
4.4. Wavelength Calibration Products
4.4.1. Raw Wavelength Calibrations
4.4.2. Static Wavelength Solutions
4.4.3. Dynamic Wavelength Solutions
4.4.4. Simultaneous Wavelength Solutions
4.5. Science Frame Products
4.5.1. Raw Science Frames
4.5.2. Reduced Science Frames
4.5.3. Extraction Products Comparison
Compact mapping from legacy Pandas HDF5 keys to DRAGONS FITS extensions:
Legacy Pandas HDF5 ( |
DRAGONS FITS extension |
|---|---|
|
|
|
|
|
|
|
|
|
PHU header keys |
4.6. Configuration Files
DRAGONS moves the standing calibration content from the legacy configuration
files into typed lookup files under maroonxdr/maroonx/lookups/. Two legacy
sources feed this:
config_[b|r].hdf(one pair per arm, updated occasionally): bad pixel map, stripe identification, and the evaluated static wavelength grid.wl_combined_final_etalon_peakmodel_2020.hdf(shared reference peak model): the polynomial fit that the evaluated static grid is derived from.
Each subsection below maps one legacy chunk to its DRAGONS lookup.
4.6.1. Bad Pixel Masks
4.6.2. Stripe Identification
4.6.3. Reference Wavelengths
See also Static Wavelength Solutions in the Wavelength Calibration Products section above.