spacetelescope / nircam_calib

A collection of software for creating NIRCam reference files, pipeline testing, etc.
2 stars 15 forks source link

Added function to display req'd metadata for given reffile #23

Closed bhilbert4 closed 7 years ago

bhilbert4 commented 7 years ago

reffile_schema.py in the reffile_creation/pipeline/ directory will return a dictionary of metadata location:fits header keyword for all the metadata required for a given reference file data model. This can be useful in reference file creation scripts for making sure that no required metadata fields have been left blank. The dictionary is generated by reading the yaml definition files in the JWST repo, so it should always return an up-to-date list.