Newer versions of the LSST Stack introduced new filters for LATISS instrument. As a result, ingest attempts for Auxtel images to the /repo/main at NCSA fail due to the Butler not recognizing them. For example:
psycopg2.errors.ForeignKeyViolation: insert or update on table "exposure" violates foreign key constraint "fkey_exposure_physical_filter_instrument_name_instrume_ee4bb371"
|
DETAIL: Key (instrument, physical_filter)=(LATISS, FELH0600~empty) is not present in table "physical_filter".
|
According to the discussion in this thread, the new version of the instrument (introducing the new filters) can be re-registered with butler register-instrument. However, my attempt to do that failed with the following error:
lsst.daf.butler.registry.interfaces._database.DatabaseConflictError: Conflict in sync for table instrument on column(s) visit_max: 3050123199999 != 6050123199999, exposure_max: 3050123199999 != 6050123199999.
|
The full traceback can be found here.