WFI Data Levels and Products

Wide Field Instrument (WFI) science data products are classified into different levels, each indicating the calibration stage and the types of products. These levels progress from Level 0 (L0) to Level 5 (L5), indicating different associations and processing. This article offers a comprehensive overview of the composition of WFI data products at each data level. 





Overview of Data Levels

The Roman Space Telescope (Roman) WFI science data products will be available to users via the Barbara A. Mikulski Archive for Space Telescopes (MAST) for Roman  (see Accessing WFI Data for more information). Science data products from the Roman WFI are stored in Advanced Scientific Data Format (ASDF). The WFI files are categorized in five data levels 1 – 5 (often abbreviated L1, L2, etc.); see the Table with High-Level Summary of WFI Data Products for a summary. Note that a sixth level (L0) refers to the raw, packetized data received from the WFI; however, L0 data are not publicly accessible. Level 1 – 4 products are generated by the Roman science centers (STScI & Caltech/IPAC), while L5 products are contributed by the community. 

Changes to the technical details and other specifications presented here are possible during early science operations. Additional details regarding data release products will be added in advance of the first data release.

Table with High-Level Summary of WFI Data Products

Data Processing Levels1

File Suffix

Description
Level 0

—

Raw, packetized data from the telescope.
Level 1

_uncal.asdf2

_wcs.asdf

_gw.asdf

_face.asdf

Uncalibrated detector data. The following file suffixes correspond to:

  • _uncal - uncalibrated science data.
  • _wcs - Gaia-aligned world coordinate system (WCS) and definitive ephemeris information (when available)*.
  • _gw - uncalibrated guide window pixel data and telemetry.
  • _face - fine attitude correction estimate (FACE) telemetry. These values represent the corrections made by the Attitude Control System (ACS) in response to the measured positions of the guide stars during fine guiding.

*Note: the _wcs file is derived from L2 images, but it is a L1 product

Level 2

_cal.asdf

Calibrated detector rate images. The following file suffixes correspond to:

  • _cal - calibrated detector rate images.
Level 3*

_coadd.asdf

_asn.json3

Re-pixelated data including, e.g., co-additions and mosaics. The following suffixes correspond to:

  • _coadd - co-added mosaics created by  romancal .
  • _asn - Association file used to generate L3 data products.
Level 4*

_cat.parquet4
_segm.asdf

More file types to be
added as needed. 

Information extracted from pixel data including, e.g., source catalogs, 1-D spectra, and light curves. The following suffixes correspond to:

  • _cat - source catalogs. Does not apply to Galactic Bulge Time-Domain Survey or spectroscopic mode observations.
  • _segm - segmentation maps. Does not apply to the Galactic Bulge Time-Domain Survey or spectroscopic mode observations.
Level 5

N/A

User-contributed high-level data products.

1 All L1 – 5 products are accessible to Roman Archive users, but L0 data are restricted. See Accessing WFI Data for more information.

2 More information on ASDF is available in the ASDF Format Information article.

3 More information on JSON is available in the Associations article. 

4 More information on parquet is available in the Level 4 section on this page. 

* Level 3 and Level 4 data products for the Galactic Bulge Time-Domain Survey and the spectroscopic mode observations are produced by the the Science Support Center at IPAC/Caltech using the Galactic Bulge Survey Pipelines and Roman Wide Field Spectroscopy Pipelines, respectively.


WFI File Naming Conventions

WFI file names consist of a root name and a suffix that denotes the data product type (see Overview of Data Levels above). Root names are a combination of several types of information (e.g., observing program and instrument information), and the letter "r" is always prefixed to WFI file root names to indicate that the data products are from Roman. Note that higher data levels (L3 and L4) as described above may contain one or more data products with the same root name but differing suffixes. 


L1 and L2 File Names

Both L1 and L2 WFI data products share common root names with the differing suffixes _uncal (L1) and _cal (L2). The root names of L1 and L2 files are also sometimes called the observation identifier (or "Observation ID") and consist of the components (example file metadata keywords for each component are shown in the far right column) described in the Table of L1 and L2 Root Name Components.

Table of L1 and L2 Root Name Components

ComponentFormatElementsExample of Metadata Keywords
Visit Identifier (visit_id)

pppppccaaasssooovvv

  • ppppp is the observing program ID number
  • cc is the execution plan number 
  • aaa is the pass number within the execution plan 
  • sss is the segment number within a pass 
  • ooo is the observation number within a segment
  • vvv is the visit number within an observation 
  • ppppp could be 00123
  • cc could be 01
  • aaa could be 008
  • sss could be 002
  • ooo could be 013
  • vvv could be 005
Exposure Identifier (exposure_id)eeee
  • eeee is the exposure number within a visit 
  • eeee could be 0005

The root name components are separate by an underscore such that the final root name is of the format 'pppppccaaasssooovvv_eeee'. Using the examples in the table above, the resulting root name of an L1 and L2 observation would  be 'r0012301008002013005_0005'.

For L1 and L2 files, the root name is followed by the WFI detector number in the format wfiNN, where NN is a zero-padded integer between 01 and 18 (e.g., wfi06). The detector number is followed by the filter name with the filter prefix in lowercase (e.g., f158). WFI Optical Elements provides more information about Roman filters. Finally, the filter name is followed by the data product suffix and file extension, as shown in Table with High-Level Summary of WFI Data Products. This example L2 data product would have a complete file name like 'r0012301008002013005_0005_wfi06_f184_cal.asdf'.

Guide Window File Names

Guide window files share the same root name components as the L1 and L2 files described above, with an additional component that denotes the guide star acquisition number. A guide window identifier is represented as 'pppppccaaasssooovvv_q', where the first component before the underscore is the visit identifier and 'q' is the guide star acquisition number, which can have values in the range of 1–9 (inclusive). Using the previous L2 file name example, a complete guide window file name may be 'r0012301008002013005_1_wfi06_f184_gw.asdf'. Note that the guide window files are always archived as L1 data products, thus the suffix will always be _gw.

In addition to the guide window pixel data and telemetry, a fine attitude correction estimate (FACE) telemetry file is also available. The FACE telemetry consists of information related to the corrections made by the Attitude Control System (ACS) in response to the measured positions of the guide stars during fine guiding. The FACE file uses the same root name as the guide window file with the suffix _face, and using the previous example would appear as 'r0012301008002013005_1_f184_face.asdf'.

For parallel observations, when both the Coronagraph and the WFI are observing, the guide window file names use the primary instrument's visit ID. Thus when the Coronagraph is the primary instrument and the WFI is operating in parallel to facilitate guiding, the guide window file names use the Coronagraph visit ID. Despite the naming mismatch, the guide window files are retrievable via MAST's WFI file query alongside the WFI science data.

Level 3 and 4 File Names 

The file names of L3 and L4 products are made up of the observing program number, an identifier for prompt or data release products, a subset name, the skycell name, and the optical element. As all archived L3 and L4 data products (except those produced from the Galactic Bulge Time Domain Survey) use a skymap tessellation, the name of the skycell is a component of the file name. The complete file name of an L3 or L4 product can be represented as rppppp_prdr_subset_skycell_element. Note that in L4 products, the optical element is only listed for Prompt Products. In Data Releases, multiple filters will be combined in L4 data products. The Table of L3 and L4 File Name Components provides further details for all of these file name components.

Table of L3 and L4 File Name Components

Component NameComponent from Example File NameDescription
Observing Program Numberppppp

ppppp is the observing program number (example: 00123)

Prompt or Data Release Identifierprdr

An indicator of whether the data product was generated as part of prompt processing or as part of a data release.

Example values:

  • p – a prompt product
  • r1 – a product from data release 1 of this program
  • r1-ultradeep – a product from data release 1 of the ultradeep tier of this program
Subsetsubset

Name of the subset used to create the L3 or L4 product. Subsets allow a combination of an observing program and a prompt or data release product to have multiple versions corresponding to different combinations of input L2 images. In the Archive, prompt product subsets will all be based on visits and identified by the values following the letter "v", while data release product subsets will be based on either passes, full-depth stacks (of a single program), or arbitrary subsets, as indicated in the examples below.

Example values:

  • v01002001001001 – A visit-level combination of exposures from execution plan 01, pass 002, segment 001, observation 001, visit 001. For more information, see L1 and L2 File Name Conventions. All prompt L3 and L4 non-microlensing products are made at the visit level.
  • s02002 – A pass-level combination as part of a data release. In this case, the subset consists of the execution plan 02 and pass 002; therefore, it combines all exposures in the pass. 
  • full – A full-depth stack of all exposures from a particular survey.
  • s2 – The combination of exposures to make an arbitrary subset identified as "subset #2". Arbitrarily named subsets, such as these, will only be created for community-defined survey programs, and their meaning will be documented as part of the data release.

Additional examples can be found in the pipelines documentation here.

Skycell Nameskycell

The name of a skycell (see the Skymap Tessellation article) is composed of three components: the projection region celestial coordinates, the skycell X position within the projection region, and the skycell Y position within the projection region.

Example values:

  • 10m6x2y50 – A projection region centered at (RA, Dec) = (10.0, -6.0) degrees and a skycell at position (X, Y) = (2, 50)
  • 274p63x31y81 – A projection region centered at (RA, Dec) = (274.0, +63.0) degrees and a skycell at position (X, Y) = (31, 81)
Optical Element Nameelement

Name of the optical element (example: f106). Note that the optical element is included in all L3 products and only in prompt L4 products. L4 data release products do not include the optical element in the file name as it is expected to comprise data from multiple filters in most cases.


Using the above information, a non-microlensing L3 file name from the Archive may be represented as, for example, r00186_p_v01004007001012_10m6x2y50_f184_coadd.asdf. In this example, this product is a prompt L3 image from program 00186 that combines exposures in the F184 element in execution plan 01, pass 004, segment 007, observation 001, visit 012 and represents the Skymap Tessellation at projection region center (RA, Dec) = (10.0, –6.0) degrees and skycell (X, Y) = (2, 50). The corresponding prompt L4 source catalog and segmentation maps would be named r00186_p_v01004007001012_10m6x2y50_f184_cat.parquet and r00186_p_v01004007001012_10m6x2y50_f184_segm.asdf, respectively.


Detailed Descriptions of WFI Data Products

In addition to the descriptions below, the schema detailing the contents of the WFI science files may be found in the Roman Attribute Dictionary (RAD).

Level 1 - Uncalibrated Data

Science Ramps 

WFI L1 files are constructed from packetized L0 data. During this process, data are reoriented from the detector frame to the science coordinate frame (see Coordinate Systems article for more information on the WFI coordinate frames), and essential metadata are populated. Each L1 file contains a three-dimensional data cube representing a single, uncalibrated ramp exposure. Unlike charge-coupled devices (CCDs), infrared detectors enable non-destructive readouts during an exposure. This allows the signal in each pixel to be sampled repeatedly over time, producing a “ramp” that improves noise performance and facilitates cosmic ray rejection. Each detector is written to a separate L1 file, resulting in a single WFI exposure generating 18 L1 files. The primary science data cube in each file has dimensions (N resultants, 4096 rows, 4096 columns – which includes 4 reference rows/columns on each the edges of the detector), where N is defined by the multi-accumulation table used for the exposure.

Resultants are analogous to groups in JWST, but offer greater flexibility: they do not need to be evenly spaced in time and can represent different numbers of averaged reads (learn more about averaged reads in the WFI Multiaccum Tables article). In addition to the science cube, each L1 file includes a secondary data cube with dimensions (N resultants, 4096 rows, 128 columns), corresponding to samples of the 33rd amplifier’s virtual reference pixels (see Description of WFI for more information on reference pixels). A summary of this information is contained in the Table of L1 Science Data Specifications below. 

Table of L1 Science Data Specifications

ArrayDescriptionUnitsTypeDimensions
dataScience data, including the 4 rows/columns of reference pixels on each detector edge.Data Number (or Digital Number; DN)uint16(N resultants, 4096 rows, 4096 columns)
amp33Amp 33 reference pixel data.DNuint16(N resultants, 4096 rows, 128 columns)
resultantdq(Optional) Data quality flags for each resultant.
uint8(N resultants, 4096 rows, 4096 columns)
reference_read(Optional) Reference read1 subtracted from subsequent reads up-the-ramp. This array is only present if a reference read was used and downlinked.DNuint16(4096 rows, 4096 columns)
reference_amp33(Optional) Reference read pixel data from amplifier 33. This array is only present if a reference read was used and downlinked.DNuint16

(4096 rows, 128 columns)

1 Learn more about reference reads in the WFI Multiaccum Tables article.

Guide Window Data

A small subregion of each detector, referred to as a guide window, is configured to be read out at high cadence during an exposure. These guide windows are typically positioned on pre-selected bright stars and are used by the spacecraft's onboard systems for target acquisition and to maintain fine attitude control throughout an exposure.

Guide window operations differ from the full-frame science exposures. The guide window pixels are reset and then read multiple times in rapid succession. These fast readouts, referred to as reads, are grouped and averaged together to form a combined resultant. After a short pause, during which a portion of the detector outside the guide window is read, this cycle of reset and rapid readout is repeated. This means there are many guide window resultants in each full-frame science readout, and there are many more for each science ramp (the science ramp is the full set of reads accumulated over the exposure duration; see the WFI Multiaccum Tables article for more details). 

The resulting guide window data are stored in separate L1 files from the main science ramps. These files are not propagated to higher-level calibrated data products, but are available in the Calibration and Supplemental Search Interface (CaSSI).

Three stages of guiding are all stored in their own data blocks: the guide star acquisition (acq_data), spectral edge acquisition (spectroscopic mode observations only, edge_acq_data), and the tracking phase (track_data). These sections contain all the information downlinked in the GW data packets. The files also contain centroid information from the engineering database for each of the pedestal and signal resultant pairs in the centroids array. The GW data are read out as "signal" and "pedestal" resultants that the fine guidance system (FGS) differences when performing the centroid calculation onboard. The amp 33 reference pixel data is stored in amp33. The Table of L1 Guide Window Specifications contains details of what information is available in the guide window data.

Table of L1 Guide Window Specifications

ArrayDescriptionUnitsTypeDimensions
acq_data, edge_acq_data (spectroscopic data only), track_data
signal_resultantsPixel data from signal resultants.DNuint16(N resultants, Y rows, X columns)
pedestal_resultantsPixel data from pedestal resultants.DNuint16(N resultants, Y rows, X columns)
signal_timesTime at the end of each signal resultant.
astropy time object(N resultants)
pedestal_timesTime at the end of each pedestal resultant.
astropy time object(N resultants)
lower_left_cornersThe lower left corner of each guide window's resultant pair in science coordinates (x_min, y_min).
uint16(N resultants, 2)
upper_right_cornersAll upper right corners of each guide window resultant pair in science coordinates (x_max, y_max).
uint16(N resultants, 2)
reset_read_flagAn indicator of which GW resultant pairs were read during a full-frame reset read. True corresponds to pairs taken during a reset read.
bool(N resultants)
reset_impacted_pairsAn indicator of which pedestal and signal resultants were directly impacted by the full-frame reset read. These resultant pairs have been significantly impacted by the reset and should be analyzed with care.
bool(N resultants)
sci_data_packet_countsLast row read in the full frame read before the guide window resultant was read.
uint16(N resultants, 2)
sce_status_flagSensor Control Electronics (SCE) status for each pedestal and signal resultant or single integer if all flags are the same. 1 indicates an internal error occurred during the ASIC for Control And Digitization of Imagers for Astronomy (ACADIA) processing.
uint8(N resultants, 2) or int
gw_resultant_err_flagGuide window resultant error flag for each pedestal and signal resultant, or a single integer if all flags are equal. 1 indicates an internal error occurred while processing the resultant.
uint8(N resultants, 2) or int
pixel_offsetsOffsets added to all guide window pixel values in the resultants, saved as a single integer if all resultants use the same offset.DNuint16(N resultants) or int
min_bind_flagMinimum binding flag for all pedestal and signal resultants, or a single integer if all flags are equal. 1 indicates that any negative pixel values within the resultant were bound to 0.
uint8(N resultants, 2) or int
max_bind_flagMaximum binding flag for all pedestal and signal resultants, or a single integer if all flags are equal. 1 indicates that any positive pixel values within the resultant were bound to 65535.
uint8(N resultants, 2) or int

exposure_mapping 

(track_data) only

An indicator of which GW resultant pairs were part of each science exposure. 

Positive integers correspond to the exposure number (single MA Table read). Negative integers correspond to the tracking reads between exposures.

2 exposure example: 

[-1,-1,-1,-1, 1,1,1,1 … 1,1, -2,-2,-2,-2,-2,-2, 2,2,2,2,2, …, 2,2,2,-3,-3,-3,-3]


int16(N resultants)

centroids

acq_centroidsX, Y centroid locations in science coordinates for all GW acquisition resultant differences (signal - pedestal). Up to 5 centroids can be returned for each acquisition and are filled with NaN if not provided.
float32(J acquisition resultants, 5, 2)
acq_centroid_errs(XX, YY, XY) 2nd moment centroid errors for all GW acquisition resultant differences.
float32(J acquisition resultants, 5, 3)
acq_centroid_qualityDescriptions of the quality of each acquisition centroid. An empty string indicates the centroid was not provided in the data packet.
str(U40)(J acquisition resultants, 5)
acq_centroid_timesTimes associated with the calculation of each acquisition's centroids.
astropy time object(J acquisition resultants)
track_centroidsX, Y centroid locations in science coordinates for all GW tracking resultant differences (signal - pedestal). Up to 5 centroids can be returned for each acquisition and are filled with NaN if not provided.
float32(K track resultants, 5, 2)
track_centroid_errs(XX, YY, XY) 2nd moment centroid errors for all GW tracking resultant differences.
float32(K track resultants, 5, 3)
track_centroid_qualityDescriptions of the quality of each tracking centroid. An empty string indicates the centroid was not provided in the data packet.
str(U40)(K track resultants, 5)
track_centroid_timesTimes associated with the calculation of each tracking's centroids.
astropy time object(K track resultants)

edge_acq_centroids

(spectroscopic data only)

X, Y centroid locations in science coordinates for all GW edge acquisition resultant differences (signal - pedestal). Up to 5 centroids can be returned for each acquisition and are filled with NaN if not provided.
float32(L edge acquisition resultants, 5, 2)

edge_acq_centroid_errs

(spectroscopic data only)

(XX, YY, XY) 2nd moment centroid errors for all GW edge acquisition resultant differences.
float32(L edge acquisition resultants, 5, 3)

edge_acq_centroid_quality

(spectroscopic data only)

Descriptions of the quality of each edge acquisition centroid. An empty string indicates the centroid was not provided in the data packet.
str(U40)(L edge acquisition resultants, 5)

edge_acq_centroid_times

(spectroscopic data only)

Times associated with the calculation of each edge acquisition's centroids.
astropy time object(L edge acquisition resultants)

amp33

amp33_acq_pedestalsReference pixel readouts during acquisition pedestal resultants.DNuint16(J acquisition resultants, Y rows, X columns)
amp33_acq_signalsReference pixel readouts during acquisition signal resultants.DNuint16(J acquisition resultants, Y rows, X columns)
amp33_track_pedestalsReference pixel readouts during tracking pedestal resultants.DNuint16(K track resultants, Y rows, X columns)
amp33_track_signalsReference pixel readouts during tracking signal resultants.DNuint16(K track resultants, Y rows, X columns)

amp33_edge_acq_pedestals

(spectroscopic data only)

Reference pixel readouts during edge acquisition pedestal resultants.DNuint16(L edge acquisition resultants, Y rows, X columns)

amp33_edge_acq_signals

(spectroscopic data only)

Reference pixel readouts during edge acquisition signal resultants.DNuint16(L edge acquisition resultants, Y rows, X columns)

Fine Attitude Correction Estimate (FACE) Data

As described in the Table with High-Level Summary of WFI Data Products, FACE telemetry represents the corrections made by the Attitude Control System (ACS) in response to the measured positions of the guide stars during fine guiding.

Table of L1 FACE Specifications

ArrayDescriptionUnitsTypeDimensions
deltaBest fit rotation about the F1 (delta), F2 (epsilon), and F3 (zeta) axes.*radiansfloat32(N resultants)
epsilon
zeta
delta2Best fit rotation about the F1 (delta2) and F2 (epsilon2) axes for a two degree of freedom solution. radiansfloat32(N resultants)
epsilon2
delta_varTheoretical estimate of the variance in delta (delta_var), epsilon (epsilon_var), and zeta (zeta_var) axes.radians^2float32(N resultants)
epsilon_var
zeta_var
horizontal_varianceHorizontal and vertical residuals variance along horizontal and vertical directions the during FGS attitude error estimate.pixelsfloat32(N resultants)
vertical_variance
num_stars_usedNumber of stars used for the FGS attitude estimate.
int8(N resultants)
num_centroid_cyclesNumber of cycles of centroid residual sigma editing that were performed.
int8(N resultants)
attitude_estimate_qualityDescription of the FGS attitude error estimate.
str(U30)(N resultants)
centroid_timesTimes when the FGS attitude error estimate was calculated.
astropy time objects(N resultants)
fgs_op_phaseOperational phases used for each FACE calculation.
str(U30)(N resultants)

* These are the Attitude Control System (ACS) coordinates for roll, pitch, and yaw.

Level 2 - Calibrated Exposures

WFI Level 2 (L2) data products are calibrated, two-dimensional rate images expressed in instrumental units of DN/s. These are generated from Level 1 (L1) ramp data by the Exposure Pipeline in romancal (see Exposure Pipeline for more details on pipeline algorithms). The core function of the Exposure Pipeline is to fit a constant count rate (i.e., a slope) to the accumulated signal in each pixel over time. This slope-fitting step converts the 3D ramp into a 2D rate image, with the best-fit slope for each pixel stored as the data array in the L2 file. The pipeline also propagates uncertainties through this fit. The variance array stores the per-pixel variance on the fitted slope, accounting for both read noise and photon (Poisson) noise. These contributions are computed using standard error propagation techniques in conjunction with reference files for gain and read noise. The error array in the L2 file is the square root of the variance array, and includes an additional flat error term that captures uncertainties associated with the intensity calibration.

The Exposure Pipeline also applies detector-level calibrations, including bad pixel masking, classic non-linearity correction, and dark current subtraction. It aligns the resulting rate image to Gaia astrometry and populates additional metadata, such as the conversion to physical surface brightness units. Note that L2 products from WFI spectroscopic exposures are not flat-fielded and do not include photometric calibration metadata. Wavelength-dependent flat-fielding and absolute flux calibration are instead performed later, during 1-D spectral extraction and processing by the Science Support Center (SSC) spectroscopic pipelines. 

As with Level 1, each WFI detector is stored in a separate L2 file, so a complete WFI exposure yields 18 L2 files. The science data arrays in these files have dimensions of (4088, 4088) pixels, reflecting the removal of a 4-pixel-wide border of reference pixels (refer to the Description of WFI for additional information on reference pixels). Reference pixel values from the L1 data are copied into auxiliary arrays in the L2 files, enabling inspection of the reference data used in the reference pixel correction step applied during processing. The Table of L2 Science Data Specifications below contains more information.

Data quality (DQ) flags are also added by the Exposure Pipeline. These are stored in a DQ array as a bitwise sum of individual flags, with each power-of-two value representing a specific detector artifact or calibration condition. Detailed flag definitions will be provided in future documentation updates.


Table of L2 Science Data Specifications

ArrayDescriptionUnitsTypeDimensions
dataScience data excluding reference pixels.DN / secfloat32(4088 rows, 4088 columns)
errTotal error array.DN / secfloat16(4088 rows, 4088 columns)
dqData quality array.
uint32(4088 rows, 4088 columns)
var_poissonVariance array associated with the Poisson noise.DN2 / sec2float16(4088 rows, 4088 columns)
var_rnoiseVariance array associated with the read noise.DN2 / sec2float16(4088 rows, 4088 columns)
var_flatVariance array associated with the flat fieldDN2 / sec2float16(4088 rows, 4088 columns)
chisqChi-square of ramp fit
float16(4088 rows, 4088 columns)
dumoDifference uniform minus optimal ("DUMO") – Ramp fit with uniform weights minus ramp fit with optimal weightsDN / sfloat16(4088 rows, 4088 columns)
amp33Amp 33 reference pixel data.DNuint16(4096 rows, 128 columns)
border_ref_pix_leftOriginal border reference pixels (left).DNuint16(4096 rows, 4 columns)
border_ref_pix_rightOriginal border reference pixels (right).DNuint16(4096 rows, 4 columns)
border_ref_pix_topOriginal border reference pixels (top).DNuint16(4 rows, 4096 columns)
border_ref_pix_bottomOriginal border reference pixels (bottom).DNuint16(4 rows, 4096 columns)
dq_border_ref_pix_leftData quality for border reference pixels (left).N/Auint32(N resultants, 4096 rows, 4 columns)
dq_border_ref_pix_rightData quality for border reference pixels (right).N/Auint32(N resultants, 4096 rows, 4 columns)
dq_border_ref_pix_topData quality for border reference pixels (top).N/Auint32(N resultants, 4 rows, 4096 columns)
dq_border_ref_pix_bottomData quality for border reference pixels (bottom).N/Auint32(N resultants, 4 rows, 4096 columns)

Level 3 - Mosaics 

L3 products are the co-additions or mosaics of L2 files. A single L3 product may be based on the input of one or more L2 products. During L3 product generation, the data are corrected for geometric distortion and are converted from instrumental units to physical surface brightness units of MegaJanskys per steradian (MJy / sr). Data quality information from the L2 file(s) is used to screen out various undesirable detector effects from the final L3 product. For more information on the L3 science data pipeline, see the Mosaic Pipeline article for all surveys except the Galactic Bulge Time Domain Survey (GBTDS). The Galactic Bulge Survey Pipelines article has information about microlensing product generation.

L3 products (excluding microlensing products) retrieved from MAST are created using a skymap tessellation. With this tessellation, all L3 non-microlensing products have the same dimensions of (5000 rows, 5000 columns). This is true regardless of the overlap of the input L2 images and the output L3 product. The Mosaic Level Pipeline can be re-run to generate skycell-based L3 products or custom mosaics. If using custom mosaics, note that the image dimensions may vary from those listed in the Table of L3 Science Data Specifications (Excluding Microlensing Products) below.


Table of L3 Science Data Specifications (Except Microlensing Products)

ArrayDescriptionUnitsTypeDimensions (Skycells)
dataScience data.MJy / srfloat32(5000 rows, 5000 columns)
errTotal error array.MJy / srfloat32(5000 rows, 5000 columns)
contextContext image that describes which input L2 files contributed to which output L3 pixels. If the number of input L2 images in the stack exceeds 32, then additional planes are added for each multiple of 32 input L2 images.
uint32(N, 5000 rows, 5000 columns) where N is the number of planes per multiple of 32 input images
weightWeight image that describes the relative weights of the output pixels.
float32(5000 rows, 5000 columns)
var_poissonVariance array associated with the Poisson noise.MJy^2 / sr^2float32(5000 rows, 5000 columns)
var_rnoiseVariance array associated with the read noise.MJy^2 / sr^2float32(5000 rows, 5000 columns)
var_skyVariance array associated with the sky noise.MJy^2 / sr^2float32(5000 rows, 5000 columns)

Level 4 - Extracted Data 

L4 products contain information extracted from pixelated L2 and L3 data. These products include source catalogs, 1-D spectra, and light curves. Pixel-based L4 products, such as segmentation maps, will be stored in ASDF format. See Table of L4 Segmentation Maps (ASDF) for more information on the segmentation map file format. Catalog information will be stored in Apache Parquet format. Apache Parquet (or simply "Parquet") is an open-source data file format designed for efficient data storage and retrieval of columnar data. Further information about how to interact with Parquet files can be found in the official Apache Parquet documentation. In Python, Parquet files can be read via pandas, among other tools. However, to access all metadata fields from the romancal -generated Parquet files, you need the pyarrow library, as pandas can read only a partial set of metadata. To learn more about specific columns in the catalog, go to the Table of L4 Photometric Catalogs (Parquet). 

L4 data products contain a mixture of prompt and data-release-only products. Additional details concerning data release products will be made available in advance of the first data release. Additional details about some products are also available in the articles for the various data pipelines that generate those products.

Prompt products include, but are not limited to:

  • Single-band source catalogs and segmentation maps made from individual exposure (L2) products for all imaging observations
  • Single-band source catalogs and segmentation maps made from co-added (L3) products for non-GBTDS imaging observations
  • GBTDS light curve catalogs
  • GBTDS variability catalogs
  • GBTDS microlensing object and event catalogs
  • Reddening and extinction maps of the GBTDS survey field
  • 2-D decontaminated spectra
  • 1-D extracted spectra
  • Spectral catalogs

In addition to the prompt products listed above, data-release-only products also include:

  • Kernel-matched multi-band source catalogs including photometric redshifts for non-GBTDS imaging observations
  • Forced photometry catalogs for non-GBTDS imaging observations

Non-GBTDS Imaging Products

Catalog Generation Overview

For non-GBTDS imaging observations, the Source Catalog step of the Exposure Pipeline performs photometry on Level 2 (L2) single and Level 3 (L3) co-added images. This pipeline step is divided into sub-steps, listed and illustrated in more detail below:

  • Background Subtraction: before source detection, a global background is estimated and subtracted from the image. This is calculated by following the Photutils algorithm as the sigma-clipped median in boxes (or "meshes") of size 100 pixels, and a low-resolution 2D background image is then created by interpolating these values. For more details, please see the Photutils documentation. The sigma-clipped standard deviation in the same box estimates the root-mean-square (RMS) variation of the background. A local background is also estimated using a circular annulus around the detected sources (see the source detection step below), with inner and outer radii of 2.4 and 2.8 arcsec (about 21 and 25 WFI pixels), respectively. The local background is calculated as the sigma-clipped median within the annulus, and then converted to a flux with the same units as the sources. Note that this local background is included in the final source catalog table, but it is not subtracted from the source flux; only the global background is subtracted from the image before calculating the photometry.
  • Source detection: after background subtraction, sources are identified using the image segmentation technique with the Photutils segmentation tool. This step convolves the background-subtracted image with a Gaussian kernel to smooth noise and improve source detection. Detected sources must consist of a minimum number of connected pixels, each exceeding a specified threshold value in the convolved image. The threshold level is defined as a per-pixel multiple of the previously calculated global background RMS. Overlapping sources are deblended using the  Photutils deblender. The deblending algorithm first applies a multi-thresholding approach to identify potentially overlapping sources, then uses watershed segmentation to separate them. For successful deblending, the sources must be sufficiently separated so that a saddle exists between them.
  • Source Photometry: this step performs aperture, Kron, isophotal, and point-spread function (PSF) photometry on the images, and derives source properties such as shape parameters. The source centroids and shape properties are derived from two-dimensional image moments of the pixel values within the source segments measured in the source detection step. These properties include the semi-major and semi-minor axes, ellipticity, and orientation of the major axis. Aperture photometry is calculated for different radii (𝑟 = 0.1, 0.2, 0.4, 0.8, 1.6 arcsec) for each source. Elliptical Kron aperture photometry is also performed, where the aperture size is determined by the source shape. Isophotal photometry is measured using the total flux within the source segment. The PSF photometry is calculated by fitting an empirical PSF (ePSF) to each source to measure its position and flux. The ePSF comes from reference files on CRDS. This ePSF can be used directly on L2 single images; however, for the co-added L3 images, which contain a mixture of individual detector PSFs with different orientations, the pipeline performs further processing. The base PSF is calculated at the center of the WFI02 detector; it is then scaled and smoothed to account for the different pixel scale of the co-added images relative to the detector images and the effect of image drizzling on the PSF. Finally, the PSF is azimuthally averaged to remove azimuthal signatures, which differ in the co-added product from those in the individual input exposures. PSF photometry is then performed using the Photutils  PSF tool. Aperture corrections are also applied, and fluxes are provided for the different adopted radii and the total encircled flux.

All the fluxes in the source catalog table are provided in nJy. In order to convert these fluxes to AB magnitudes, the following formula can be used:

𝑚A⁢B = −2.5⁢ x log10⁡(𝑓n⁢J⁢y) + 31.4

The source catalog table also provides photometric errors, calculated from the image error array.


Table of L4 Segmentation Maps (ASDF)

ArrayDescriptionUnitsTypeDimensions (Skycells)
dataScience data.
uint32(Npix_x, Npix_y) - size of the original L2 or L3 images used as input to the SourceCatalog step
detection_imageOriginal image used for detectionDN/s or MJy / srfloat32(Npix_x, Npix_y) – size of the original L2 or L3 images used as input to the SourceCatalog step


Table of L4 Photometric Catalogs (Parquet)

Name

Unit

Description

aper_bkg_~band~_flux

nJy/arcsec^2

Local background estimated within a circular annulus

aper_bkg_~band~_flux_err

nJy

Uncertainty in aper_bkg_flux

aper_bkg_~band~m~band~_flux

nJy/arcsec^2

Local background estimate for PSF-matched aperture photometry

aper_bkg_~band~m~band~_flux_err

nJy/arcsec^2

Uncertainty in aper_bkg_flux_err

aper~radius~_~band~_flux

nJy

Flux within circular aperture (radius in tenths of arcsec)

aper~radius~_~band~_flux_err

nJy

Uncertainty in flux within circular aperture

aper~radius~_~band~m~band~_flux

nJy

PSF-matched flux within circular aperture (radius in tenths of arcsec)

aper~radius~_~band~m~band~_flux_err

nJy

Uncertainty in PSF-matched flux within circular aperture

bbox_xmax

pixels

Column index of the right edge of the source bounding box (0-indexed)

bbox_xmin

pixels

Column index of the left edge of the source bounding box (0-indexed)

bbox_ymax

pixels

Row index of the top edge of the source bounding box (0-indexed)

bbox_ymin

pixels

Row index of the bottom edge of the source bounding box (0-indexed)

cxx

1/arcsec^2

Coefficient for the x**2 term in the generalized quadratic ellipse equation

cxy

1/arcsec^2

Coefficient for the x*y term in the generalized quadratic ellipse equation

cyy

1/arcsec^2

Coefficient for the y**2 term in the generalized quadratic ellipse equation

dec

deg

Best estimate of the declination (ICRS)

dec_centroid

deg

Declination of the source centroid (ICRS)

dec_centroid_err

arcsec

Uncertainty in dec_centroid

dec_centroid_win

deg

Declination (ICRS) of the windowed source centroid

dec_centroid_win_err

arcsec

Uncertainty in dec_centroid_win

dec_psf_~band~

deg

Declination (ICRS) of the PSF-fitted position

dec_psf_~band~_err

arcsec

Uncertainty in dec_psf

ellipticity

none

Source ellipticity as 1 - (semi-major/semi-minor)

flagged_spatial_id

none

Bit flag encoding the overlap flag, projection, skycell and pixel coordinates of the source

fluxfrac_radius_50_~band~

arcsec

Radius of a circle centered on the source centroid that encloses 50% of the Kron flux

fwhm

arcsec

Circularized full width at half maximum (FWHM) calculated from the semimajor and semiminor axes as 2*sqrt(ln(2) * (semimajor^2 + semiminor^2))

image_flags

none

Image quality bit flags (0=good)

is_extended_~band~

none

Flag indicating that the source appears to be more extended than a point source

kron_radius

arcsec

First-moment radius measured in the detection image.

kron_~band~_abmag

mag(AB)

AB magnitude within the elliptical Kron aperture

kron_~band~_abmag_err

mag(AB)

Uncertainty in kron_abmag

kron_~band~_flux

nJy

Flux within the elliptical Kron aperture

kron_~band~_flux_err

nJy

Uncertainty in kron_<band>_flux_err

kron_~band~m~band~_abmag

abmag

PSF-matched flux within the elliptical Kron aperture

kron_~band~m~band~_abmag_err

abmag

Uncertainty in kron_<band>m<band>_abmag_err

label

none

Label of the source segment in the segmentation image

nn_distance

arcsec

Distance to the nearest neighbor in this skycell

nn_label

none

Segment label of the nearest neighbor in this skycell

orientation_pix

deg

Angle measured counter-clockwise from the positive X axis to the source major axis computed from image moments

orientation_sky

deg

Position angle from North of the source major axis computed from image moments

psf_flags_~band~

none

PSF fitting bit flags (0 = good)

psf_gof_~band~

none

PSF goodness of fit metric

psf_~band~_flux

nJy

Total PSF flux

psf_~band~_flux_err

nJy

Uncertainty in psf_flux

ra

deg

Best estimate of the right ascension (ICRS)

ra_centroid

deg

Right ascension (ICRS) of the source centroid

ra_centroid_err

arcsec

Uncertainty in ra_centroid

ra_centroid_win

deg

Right ascension (ICRS) of the windowed source centroid

ra_centroid_win_err

arcsec

Uncertainty in ra_centroid_win

ra_psf_~band~

deg

Right ascension (ICRS) of the PSF-fitted position

ra_psf_~band~_err

arcsec

Uncertainty in ra_psf

roundness1_~band~

none

Photutils DAOFinder roundness1 statistic

segment_area

arcsec^2

Area of the source segment

segment_~band~_flux

nJy

Isophotal flux

segment_~band~_flux_err

nJy

Uncertainty in segment_flux

segment_~band~m~band~_flux

nJy

Isophotal flux after PSF matching to a reference band

segment_~band~m~band~_flux_err

nJy

Isophotal flux error after PSF matching to a reference band

semimajor

arcsec

Length of the source semimajor axis computed from image moments

semiminor

arcsec

Length of the source semiminor axis computed from image moments

sharpness_~band~

none

Photutils DAOFinder sharpness statistic

warning_flags

none

Warning bit flags (0=good)

x_centroid

pixels

Column coordinate of the source centroid from image moments (0-indexed)

x_centroid_err

pixels

Uncertainty x_centroid

x_centroid_win

pixels

Column coordinate of the windowed source centroid in the detection image from image moments (0-indexed)

x_centroid_win_err

pixels

Uncertainty on x_centroid_win

x_psf_~band~

pixels

Column coordinate of the source from PSF fitting (0-indexed)

x_psf_~band~_err

pixels

Uncertainty in x_psf

y_centroid

pixels

Row coordinate of the source centroid in the detection image from image moments (0-indexed)

y_centroid_err

pixels

Uncertainty on y_centroid

y_centroid_win

pixels

Row coordinate of the windowed source centroid in the detection image from image moments (0-indexed)

y_centroid_win_err

pixels

Uncertainty on y_centroid_win

y_psf_~band~

pixels

Row coordinate of the source from PSF fitting (0-indexed)

y_psf_~band~_err

pixels

Uncertainty on y_psf

For more information about the flag values and other quantities, please visit the Flags Columns information in the RomanCal pipeline documentation.

Fields in multi-band catalogs follow the schema above with the following differences:

  • Fields derived from individual filter measurements include the name of the filter, e.g., aper~radius~_~band~_flux, or psf_~band~_flux (names listed in the Table of L4 Photometric Catalogs above).
  • Fields derived from the detection image and segmentation image do not include the band name.

Force photometry catalogs also follow the schema described above with the prefix forced_  for measurements performed on the image, e.g., forced_kron_flux. 

Photometric Redshifts


romancal
has the ability to estimate redshifts for astronomical sources based on their photometric measurements. The photometric redshift ("photo-z") measurements are performed using  roman_photoz . This package uses the Redshift Assessment Infrastructure Layer (RAIL) and adapts it to interface with Roman's photometric catalogs. For more details about RAIL, please see RAIL Team et al. 2025. 


roman_photoz  uses LePhare (Arnouts et al. 1999, Ilbert et al. 2006) to estimate redshifts from multi-band photometric catalogs. Briefly, LePhare is a template-fitting code that uses a library of spectral energy distributions (SEDs) that are redshifted, convolved with different filter bandpasses, and fitted to the photometric data to obtain a best-fit redshift (and potentially other physical properties such as star formation rate). For more information about LePhare, please consult the LePhare ReadTheDocs documentation.

Level 5 - User Contributed Products

L5 data products are created by Roman users and made available to the community via the Roman Archive. As these products are heterogeneous in nature, documentation on collections of L5 products will be made available via MAST. See Accessing WFI Data for more information on L5 data products.




For additional questions not answered in this article, please contact the Roman Help Desk.




Latest Update

Added information on WFI and coronagraph parallel observation naming conventions. Reviewed for accuracy and clarity. 
Publication

 

Initial publication of the article.