AstroHuntsman / huntsman-drp

Imaging pipeline tools and flow.
MIT License
0 stars 2 forks source link

Add narrow band filters to `filterDefinitions` #190

Open danjampro opened 3 years ago

danjampro commented 3 years ago

Undefined filters cause ingest errors in LSST code:

[SQL: INSERT INTO exposure (instrument, id, physical_filter, obs_id, exposure_time, dark_time, observation_type, observation_reason, day_obs, seq_num, group_name, group_id, target_name, science_program, tracking_ra, tracking_dec, sky_angle, zenith_angle, timespan_begin, timespan_end) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT DO NOTHING]
[parameters: ('Huntsman', 200825075748996, 's_II', '2200825075748996', 1.0, 0.0, 'flat', 'unknown', 20200825, 200825075748996, '200825075748996', 200825075748996, 'FlatDither02', 'Huntsman', 264.0047189556708, -39.22601857318945, 0.0, 19.444587081059737, 1598342305996000000, 1598428705996000000)]
(Background on this error at: https://sqlalche.me/e/14/gkpj)
2021-08-03 23:14:15.022 | ERROR    | huntsman.drp.services.calib:_run:216 - Error making master calibs for date=2020-08-26 00:00:00: RuntimeError('Some failures encountered during ingestion')

Currently breaking calib maker.