hi all- as part of my writing documentation for various DM Tasks, I’m working through some of the examples in the Tasks (as listed on the doxygen pages), and though some work straight off, others are not doing so, and I’m posting one of the first of those here in case it’s a real issue. The calibTask.py example script is supposed to exercise both CalibTask and CharacterizeImageTask.
Also NB: I’m testing on 2 versions of the stack, a very old local one (from April 2016) and a recent one, which is the one that matters to other users, so that’s the one for which I’ll report the error. (In this case, the example actually runs fine locally.)
So, on the Princeton Tiger-Sumire machine, after logging in and doing:
source /tigress/HSC/LSST/stack_20160915/eups/bin/setups.sh
setup miniconda2
setup lsst_apps
then going to $PIPE_TASKS_DIR/examples
and running out of the box python photoCalTask.py
(which I checked is using by default python ver 2.7.11 btw), yields the below, which indicates some problem with a file possibly being moved? (The schema subdir in fact doesn’t exist at all).
thx.
------------------ Output:
Traceback (most recent call last):
File "calibrateTask.py", line 175, in <module>
run(display=args.display)
File "calibrateTask.py", line 128, in run
calibrateTask = CalibrateTask(butler, config=config)
File "/tigress/HSC/LSST/stack_20160915/Linux64/pipe_tasks/12.1-10-gcf06047+5/python/lsst/pipe/tasks/calibrate.py", line 279, in __init__
icSourceSchema = butler.get("icSrc_schema", immediate=True).schema
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 749, in get
return callback()
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 744, in <lambda>
callback = lambda: self._read(location)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 888, in _read
results = location.repository.read(location)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/repository.py", line 152, in read
return self._storage.read(butlerLocation)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/posixStorage.py", line 276, in read
raise RuntimeError("No such FITS catalog file: " + logLoc.locString())
RuntimeError: No such FITS catalog file: /tigress/HSC/LSST/stack_20160915/Linux64/obs_test/12.1-9-g3e397f1+2/data/input/schema/icSrc.fits
{tiger-sumire:/tigress/HSC/LSST/stack_20160915/Linux64/pipe_tasks/12.1-10-gcf06047+5/examples}py calibrateTask.py
Traceback (most recent call last):
File "calibrateTask.py", line 175, in <module>
run(display=args.display)
File "calibrateTask.py", line 128, in run
calibrateTask = CalibrateTask(butler, config=config)
File "/tigress/HSC/LSST/stack_20160915/Linux64/pipe_tasks/12.1-10-gcf06047+5/python/lsst/pipe/tasks/calibrate.py", line 279, in __init__
icSourceSchema = butler.get("icSrc_schema", immediate=True).schema
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 749, in get
return callback()
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 744, in <lambda>
callback = lambda: self._read(location)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/butler.py", line 888, in _read
results = location.repository.read(location)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/repository.py", line 152, in read
return self._storage.read(butlerLocation)
File "/tigress/HSC/LSST/stack_20160915/Linux64/daf_persistence/12.1-11-gb70df55+1/python/lsst/daf/persistence/posixStorage.py", line 276, in read
raise RuntimeError("No such FITS catalog file: " + logLoc.locString())
RuntimeError: No such FITS catalog file: /tigress/HSC/LSST/stack_20160915/Linux64/obs_test/12.1-9-g3e397f1+2/data/input/schema/icSrc.fits