We have an example of update_smurf_caldbs failing when one IV from an observation is missing: https://prefect.simonsobs.org/flow-runs/flow-run/9e78422f-43be-44c4-a590-cf4a63a437db
In obs_1762625109_satp3_1111111, oper_1762623919_satp3_1000000 is missing a .npy file. I have checked at this file does not exist at Level 2, so something failed in the IV taking/analysis on the smurf server. (Very rare error, we haven't seen this in awhile).
Right now, we're going to have to add obs_1762625109_satp3_1111111 to the failed_obsids.yaml. But longer-term we should also edit this code to continue to run for the other wafers/slots so that we don't lose this whole observation.
This area of the code is what needs to be fixed:
|
ivas[dset] = load_smurf_npy_data(ctx, oid, 'iv') |