Manual Unembargo¶
From time to time, faults or bugs may cause images to be taken with can_see_sky=True or can_see_sky=None when in fact it was not possible to see the sky.
These images would normally have to wait for the full embargo period before being copied out of embargo, which can significantly hamper the Calibrations Team.
The process below will allow these images to be unembargoed manually.
Ensure that a DM Jira ticket has been filed with the observation ids (
day_obsandseq_num) of the images that were taken with incorrect metadata.Check that the images were in fact taken inside the dome. This may involve certification from experts and spot-checking images in RubinTV to ensure that they don’t have astronomical objects.
Add the
day_obsandseq_numranges to thefix_rangesdictionary in theobs_lssttranslator code. Get this reviewed and merge tomain.Setup the local version of
obs_lsstand reingest the raw images withbutler ingest-raws embargo --regex '[W\d]\d.fits$' -t direct -j 10 --output-run LSSTCam/raw/all --update-records s3://embargo@rubin-summit/LSSTCam/${day_obs}/MC_O_${day_obs}_${seq_num}/. The--regexoption is to exclude guiders that cannot be ingested usingingest-raws. The-t directoption is mandatory because raws do not live in the butler repo’s datastore. The-j 10option is to speed things up a bit. The--output-runis the default, but it’s there for safety.--update-recordsis required to fix thecan_see_skyvalue.Login to the
usdf-embargo-dmzvcluster usinghttps://k8s.slac.stanford.edu/usdf-embargo-dmzand execute thecatchup-raw.shscript fromslaclab/usdf-embargo-deploy/kubernetes/overlays/transferwith the date. This will re-scan the exposure dimension and unembargo the data.