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_obs
andseq_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_obs
andseq_num
ranges to thefix_ranges
dictionary in theobs_lsst
translator code. Get this reviewed and merge tomain
.Setup the local version of
obs_lsst
and 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--regex
option is to exclude guiders that cannot be ingested usingingest-raws
. The-t direct
option is mandatory because raws do not live in the butler repo’s datastore. The-j 10
option is to speed things up a bit. The--output-run
is the default, but it’s there for safety.--update-records
is required to fix thecan_see_sky
value.Login to the
usdf-embargo-dmz
vcluster usinghttps://k8s.slac.stanford.edu/usdf-embargo-dmz
and execute thecatchup-raw.sh
script fromslaclab/usdf-embargo-deploy/kubernetes/overlays/transfer
with the date. This will re-scan the exposure dimension and unembargo the data.