You may access and retrieve data from the Roman Integration and Test Archive (RITA) using the CaSSI web tool, or with curl commands.
On this page...
Roman Ground Tests
Roman science Instruments were tested prior to launch for functionality and to characterize the detector response. The data from these tests have been stored in the Roman Integration and Test Archive (RITA) to support the generation of calibration reference files, and to provide a baseline for post-launch instrument performance.
Data in RITA are restricted to authorized persons, but anyone may search for products. If you wish to retrieve products, please login using the pull-down menu at the upper-right of the window.
Data products from ground tests have not yet been deployed to the Operations environment. Until these products are made available, the RITA interface will function but searches will return no results.
CaSSI Interface
The MAST CaSSI web interface includes a RITA search form for data obtained during pre-launch ground testing, including epochs of Thermal Vacuum (TVac) testing. The RITA web interface is shown in Fig. 1.
Figure 1 — MAST CaSSI interface for Roman Integration & Test Archive (RITA), with regions (numbered yellow boxes) showing the provenance selectors (1), general attribute selectors (2), optional attrribute selectors (3), and display fields for the results table (4).
Most elements of the interface (pull-down menus, checkboxes, buttons) are similar to those in other MAST web interfaces (see the Mission Search Guide). Features specific to RITA are summarized in subsections below, followed by some definitions of common acronyms.
Provenance
After selecting the RITA Data Group (see Roman Mission Products), use the Provenance pull-down to select the specific ground test and instrument (e.g., WFI TVAC 2).
General Attribute Selectors
Attributes of the test data (selected metadata stored in the RITA database) may be used to narrow your search to products of interest. Not specifying an attribute has the effect of matching all products with respect to that attribute (e.g., an unspecified Detector name will match all detectors).
Dates
If the date when the data were generated is known approximately, the start/end date selectors will limit the scope of the search. For reference, the dates of the ground tests are given below.
Test | Start date | End date |
---|---|---|
TVAC 1 | 2023-09-11 | 2023-11-11 |
TVAC 2 | 2024-03-18 | 2024-05-30 |
Name of the Ground Test
Exposures were obtained to support the various test activities. For a summary see TVAC Flash Cards.
Optical Elements and Calibration Source
One or more of the WFI Optical Elements may be selected from the pull-down menu (see the Spectral Element widget description). You may also select whether the Relative Calibration System (RCS) was on during the exposure, and whether an apparent point-source was generated with the SORC.
Optional Attribute Selectors
Most all metadata (each of which corresponds to an output table column) can be used to further constrain the search. Select the column name from the pull-down menu and apply a condition (i.e., a constraint), as show in the article on Additional Search Parameters. The example below shows how to select only data where the exposure type matches the string WFI_IMAGE
.
Display Fields
Use the pull-down menu to select which metadata (fields) to display in the results table. There are buttons to select all fields () or none (). Fig. 2 highlights the Exposure Type field, which may be selected.
Figure 2 — Pull-down menu of display fields, highlighting the Exposure Type (orange) which can be added by ticking the checkbox. A short description is displayed beneath each field.
Results
A successful search will be displayed as a table, shown in Fig. 3, with one row per matching product. The Search Results Page article describes general features of the search results table, including selecting files for download. Fig. 3 below shows a somewhat simplified pull-down menu for download, since the results table for RITA is simply a list of files, rather than a list of collections of files.
Figure 3 — Table of matching products, one per row. Products selected for download are marked with checkboxes (left) and are highlighted with a blue background. The pull-down menu for Download Data (upper left) is also shown, which offers a choice of download options.
See the schema for the TVac asdf-format files for information about the metadata contained in the exposure data products.
RITA Common Terms
The following terms are important for creating meaningful queries for TVac data. Some of the instrument components are visible in the Description of WFI. See the Roman acronym list for more definitions.
Term/Acronym | Description |
---|---|
COBA | Cold Optical Baffle Assembly |
EWA | Element Wheel Assembly |
LLTF | Laser Line Tunable Filter |
RCS | Relative Calibration System |
SCA | Sensor Chip Assembly |
SCE | Sensor Control Electronics |
SDS | Source Delivery System |
SORC | Stimulus of Ray Cones (used to simulate a point-source in the test data) |
API for RITA
A simplified python interface for RITA is planned. For now, you may download from CaSSI and use curl scripts to query for products, and to retrieve them. The query scripts can be adapted from those that are available in the CaSSI web interface. The tables below shows the button/menu options that generate the queries, and the corresponding curl commands. (Backslash characters have been inserted into the example commands in the tables below to make them more readable.) Simply run the queries on the command line to generatae
Query
You may delete the limit of 5000 results (bolded text) from the search command, but be aware that larger queries may take a long time to produce results. The result will be a json-formatted file of results: one for each row of the results table that would be generated after a search of RITA.
Widget | Command |
---|---|
Search curl -H "Content-Type: application/json" \ -X POST 'https://masttest.stsci.edu/cassi/api/v0.1/rita/search/TVAC1' \ -d '{"select_cols":[],"conditions":[{"rcs_on":"T"},{"gsorc_sds_sorc_on":"T"}],"limit":5000}' \ --compressed \ --output cassi_rita_filtered_search_results2024-12-12T20:10:13.936Z.json |
Retrieve
You may also retrieve data using curl, as illustrated below. Note that your MAST authorization token is read from the shell environment variable MAST_API_TOKEN
(see bolded text). The token is necessary to assure that you are authorized to retrieve products from RITA. To generate a token, see the Auth.MAST page.
Widget | Command |
---|---|
Retrieve curl -H "Content-Type: application/json" \ -H "Authorization: token $MAST_API_TOKEN" \ -X POST 'https://masttest.stsci.edu/cassi/api/v0.1/download/roman/rita'\ -d '{"query_params":["https://tl9dmsdaapi.stsci.edu/api/assets/v1/mast/rita/product/TVAC1_COLDQUAL_WFIFIN_20231008003314_WFI18_uncal.asdf"]}' \ --compressed \ --output TVAC1_COLDQUAL_WFIFIN_20231008003314_WFI18_uncal.asdf.zip curl -H "Content-Type: application/json"\ -H "Authorization: token $MAST_API_TOKEN" \ -X POST 'https://masttest.stsci.edu/cassi/api/v0.1/download/roman/rita' \ -d '{"query_params":["https://tl9dmsdaapi.stsci.edu/api/assets/v1/mast/rita/product/TVAC1_NOMOPS_WFIFIN_20231015132524_WFI05_uncal.asdf"]}' \ --compressed \ --output TVAC1_NOMOPS_WFIFIN_20231015132524_WFI05_uncal.asdf.zip |