Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_analysis
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:DRP F20-3 (Aug)
-
Team:Data Release Production
-
Urgent?:No
Description
coaddAnalysis.py gave the following error for some data:
Traceback (most recent call last):
|
File "/home/hchiang2/PDR2/pa_stack/pipe_analysis/bin/coaddAnalysis.py", line 3, in <module>
|
CoaddAnalysisTask.parseAndRun()
|
File "/software/lsstsw/stack_20200220/stack/miniconda3-4.7.12-984c9f7/Linux64/pipe_base/19.0.0-9-g0ae078d+2/python/lsst/pipe/base/cmdLineTask.py", line 610, in parseAndRun
|
resultList = taskRunner.run(parsedCmd)
|
File "/software/lsstsw/stack_20200220/stack/miniconda3-4.7.12-984c9f7/Linux64/pipe_base/19.0.0-9-g0ae078d+2/python/lsst/pipe/base/cmdLineTask.py", line 221, in run
|
resultList = list(mapFunc(self, targetList))
|
File "/software/lsstsw/stack_20200220/stack/miniconda3-4.7.12-984c9f7/Linux64/pipe_base/19.0.0-9-g0ae078d+2/python/lsst/pipe/base/cmdLineTask.py", line 385, in __call__
|
result = self.runTask(task, dataRef, kwargs)
|
File "/software/lsstsw/stack_20200220/stack/miniconda3-4.7.12-984c9f7/Linux64/pipe_base/19.0.0-9-g0ae078d+2/python/lsst/pipe/base/cmdLineTask.py", line 447, in runTask
|
return task.runDataRef(dataRef, **kwargs)
|
File "/home/hchiang2/PDR2/pa_stack/pipe_analysis/python/lsst/pipe/analysis/coaddAnalysis.py", line 356, in runDataRef
|
repoInfo.dataId, forcedStr="unforced " + self.catLabel, **plotKwargs)
|
File "/home/hchiang2/PDR2/pa_stack/pipe_analysis/python/lsst/pipe/analysis/coaddAnalysis.py", line 881, in plotPsfFluxSnHists
|
"Flux>{:.1f}".format(highFlux), "psf_used"])
|
File "/home/hchiang2/PDR2/pa_stack/pipe_analysis/python/lsst/pipe/analysis/analysis.py", line 605, in plotHistogram
|
axes2.set_ylim(0, 1.05)
|
UnboundLocalError: local variable 'axes2' referenced before assignment
|
I was using w_2020_08 + pipe_analysis 09a7675
Attachments
Issue Links
- relates to
-
DM-23807 coaddAnalysis for HSC-PDR2
- Done
One example input data to reproduce:
coaddAnalysis.py /datasets/hsc/repo/ --calib /datasets/hsc/calib/20200115/ --rerun DM-23243/MULTIBAND/DEEP:private/whatever --doraise --config doWriteParquetTables=True --id tract=08766 filter=HSC-I2