spacetelescope / romancal

Python library to process science observations from the Nancy Grace Roman Space Telescope
https://roman-pipeline.readthedocs.io/en/latest/
Other
28 stars 28 forks source link

ref_file missing from source catalog schemas #1197

Closed stscijgbot-rstdms closed 2 months ago

stscijgbot-rstdms commented 2 months ago

Issue RCAL-823 was created on JIRA by Nadia Dencheva:

Larry reported that when generating catalogs from the source_catalog step the code errors because it's looking to write to a ref_file section which is missing from the schemas. Currently source catalog does not use any reference files but it will in the future. We also record CRDS_CONTEXT under ref_file. 

stscijgbot-rstdms commented 2 months ago

Comment by Nadia Dencheva on JIRA:

Partial fix to the problem is in #1201 - CRDS context and version and reference files are recorded only if a step uses reference files.

A follow up PR should remove ref_file from L3 products and possibly add it to catalogs when they need it.