Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:0.2
-
Epic Link:
-
Team:Data Facility
Description
We have some early-2014 raw HSC data with no corresponding sky frames available in the calib repo /datasets/hsc/calib/20180117/. In particular, sky frames of HSC-R and HSC-Z for as early as dateObs=2014-03-28 are needed by the HSC "RC2" dataset (DM-11345).
Two example early visits are visit=1202 (HSC-R ) and visit=1166 (HSC-Z), from SSP_UDEEP_COSMOS, and their dateObs is 2014-03-28
>>> import lsst.daf.persistence
|
>>> butler = lsst.daf.persistence.Butler("/datasets/hsc/repo")
|
CameraMapper INFO: Loading exposure registry from /datasets/hsc/repo/registry.sqlite3
|
CameraMapper INFO: Loading calib registry from /datasets/hsc/repo/CALIB/calibRegistry.sqlite3
|
>>> butler.get("raw", visit=1202, ccd=0)
|
<lsst.afw.image.exposure.exposure.ExposureU object at 0x7fb5c35d9960>
|
>>> butler.get("sky", visit=1202, ccd=0)
|
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module>
|
File "/ssd/lsstsw/stack3_20171021/stack/miniconda3-4.3.21-10a4fa6/Linux64/daf_persistence/14.0-14-g87d16e8+10/python/lsst/daf/persistence/butler.py", line 1410, in get
|
raise NoResults("No locations for get:", datasetType, dataId)
|
lsst.daf.persistence.butlerExceptions.NoResults: No locations for get: datasetType:sky dataId:DataId(initialdata={'visit': 1202, 'ccd': 0}, tag=set())
|
Attachments
Issue Links
- blocks
-
DM-13435 Reprocess RC with w_2018_06
- Done
Hacked the calibration registry to explicitly include this data. Modified the calib-20180117.txt log file to note the changes:
UPDATE 2018-02-12: Hsin-Fang Chiang discovered that the validity ranges for
the sky frames in HSC-R and HSC-Z do not extend sufficiently early to cover
some Cosmos data we want to process. Modified the validity ranges for those
explicitly:
UPDATE sky SET validStart = '2014-01-01' WHERE (filter = "HSC-R" AND calibDate \
= "2014-11-12") OR (filter = "HSC-Z" AND calibDate = "2014-11-02");
I've copied the modified calibRegistry.sqlite3 and calib-20180117.txt to the LSST cluster for Hsin-Fang Chiang to update the existing version there.