This repository attempts to collect and organize the IRIS metadata.
- Many of IRIS metadata come from Observatory Telemetry, these are defined in "model files" and control which telemetry from other instruments and systems IRIS will be subscribed to. This list is maintaned on Github in the
subscribe-model.conf
in thetmt-icd/IRIS-Model-Files
repository in a text format - IRIS metadata are then saved to FITS headers so they are available for offline processing. However the FITS files also contain other metadata which do not come from telemetry but are created during the observations.
- Moreover we need to track which FITS headers go in each of the different type of FITS files generated by the IRIS processing pipeline.
We plan to have a single Google Sheet which collects all of this information in 1 place and is human and machine readable. Then provide software tools in this repository to generate the subscribe-model.conf
file and to generate the metadata templates that go into the Python package iris_pipeline
and define what FITS headers are expected to be in each file.
Once these tools are available, the Google Sheet will be the master copy and when edited, we can propagate the changes to the rest.
After the initial import, this should be considered the master copy where this information is kept updated.
Then this will be exported to hocon
model files for the subscribe-model.conf
file and be a unique reference for all the metadata that goes into the FITS files produced by the observatory.
Versions are tagged both in the repository and using "Name current version" on Google Sheets. See https://github.com/oirlab/iris_metadata/releases
import.ipynb
Jupyter Notebook used to merge the telemetry from the model files and the FITS metadata spreadsheet- [
Metadata_IRIS_new - icd.csv
](Metadata_IRIS_new - icd.csv) Dump of the FITS metadata spreadsheet IRIS_telemetry_and_FITS_metadata.csv
, initially created fromimport.ipynb
, it will be kept synchronized with the google spreadsheet.csv_to_google_sheet.ipynb
: Jupyter Notebook to take the CSV and upload it to Google Sheet overwriting what is theregenerate-subscribe-model.ipynb
: Jupyter Notebook to generatesubscribe-model.conf
in HOCON format fromIRIS_telemetry_and_FITS_metadata.csv
download_google_sheet.sh
: Script to download the Master Google sheet toIRIS_telemetry_and_FITS_metadata.csv