Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:DRP S19-2
-
Team:Data Release Production
Description
processCcd.py with some HSC data on /datasets/hsc failed with w_2019_01 or w_2019_02. It worked with w_2018_52. One example command is
processCcd.py /datasets/hsc/repo/ --rerun private/user/name --id visit=318 ccd=0 |
and the error as follows:
Traceback (most recent call last):
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/16.0-25-g2c6bf4a+1/python/lsst/pipe/base/cmdLineTask.py", line 388, in __call__ |
result = self.runTask(task, dataRef, kwargs)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/16.0-25-g2c6bf4a+1/python/lsst/pipe/base/cmdLineTask.py", line 447, in runTask |
return task.runDataRef(dataRef, **kwargs) |
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/16.0-25-g2c6bf4a+1/python/lsst/pipe/base/timer.py", line 149, in wrapper |
res = func(self, *args, **keyArgs)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_tasks/16.0-51-gbbe9c988/python/lsst/pipe/tasks/processCcd.py", line 183, in runDataRef |
exposure = self.isr.runDataRef(sensorRef).exposure
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/16.0-25-g2c6bf4a+1/python/lsst/pipe/base/timer.py", line 149, in wrapper |
res = func(self, *args, **keyArgs)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/ip_isr/16.0-17-g5cf0468+1/python/lsst/ip/isr/isrTask.py", line 1087, in runDataRef |
result = self.run(ccdExposure, camera=camera, **isrData.getDict())
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/16.0-25-g2c6bf4a+1/python/lsst/pipe/base/timer.py", line 149, in wrapper |
res = func(self, *args, **keyArgs)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/ip_isr/16.0-17-g5cf0468+1/python/lsst/ip/isr/isrTask.py", line 961, in run |
self.strayLight.run(ccdExposure)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/obs_subaru/16.0-43-g07e5bd20/python/lsst/obs/subaru/strayLight/yStrayLight.py", line 84, in run |
angleStart, angleEnd = inrStartEnd(exposureMetadata)
|
File "/software/lsstsw/stack_20181012/stack/miniconda3-4.5.4-fcd27eb/Linux64/obs_subaru/16.0-43-g07e5bd20/python/lsst/obs/subaru/strayLight/rotatorAngle.py", line 251, in inrStartEnd |
inst_pa = header.getDouble('INST-PA') |
lsst.pex.exceptions.wrappers.NotFoundError:
|
File "src/PropertySet.cc", line 189, in T lsst::daf::base::PropertySet::get(const string&) const [with T = double; std::string = std::basic_string<char>] |
INST-PA not found {0} |
lsst::pex::exceptions::NotFoundError: 'INST-PA not found' |
Attachments
Issue Links
- relates to
-
DM-16110 Reprocess RC2 with w_2019_02
- Done
The instrument position angle is stored in VisitInfo and calculated and stored in ObservationInfo by astro_metadata_translator so in theory it shouldn't need to be extracted again directly from the header.