[lsst-dm-stack-users] Keyword argument 'datasetType'
Chris Walter
chris.walter at duke.edu
Tue Aug 6 12:57:05 PDT 2013
Dear All,
I did successfully build the v7_2 source distribution after I found out the binary one wasn't up-to-date. I am trying to process some phoSim output (v3.3.2) (a simple single star).
I'm following Debbie Bard's instruction here:
http://kipac.stanford.edu/collab/research/lensing/slac/HowTo/imsimDMpipeline
after making a small change to vdist_pt1_1.py to account for current differences in file name I believe things are setup up properly. There is a mapper file and a registry.sqlite3 file along with raw and image directories.
in raw/v99999999-fr/E000/R22/S11:
imsim_99999999_R22_S11_C00_E000.fits.gz
imsim_99999999_R22_S11_C01_E000.fits.gz
imsim_99999999_R22_S11_C02_E000.fits.gz
imsim_99999999_R22_S11_C03_E000.fits.gz
imsim_99999999_R22_S11_C04_E000.fits.gz
imsim_99999999_R22_S11_C05_E000.fits.gz
imsim_99999999_R22_S11_C06_E000.fits.gz
imsim_99999999_R22_S11_C07_E000.fits.gz
imsim_99999999_R22_S11_C10_E000.fits.gz
imsim_99999999_R22_S11_C11_E000.fits.gz
imsim_99999999_R22_S11_C12_E000.fits.gz
imsim_99999999_R22_S11_C13_E000.fits.gz
imsim_99999999_R22_S11_C14_E000.fits.gz
imsim_99999999_R22_S11_C15_E000.fits.gz
imsim_99999999_R22_S11_C16_E000.fits.gz
imsim_99999999_R22_S11_C17_E000.fits.gz
In eimage/v99999999-fr/E000/R22:
eimage_99999999_R22_S11_E000.fits.gz
But when I try to run
$OBS_LSSTSIM_DIR/bin/processEimage.py ./ --id visit=99999999 filter=r snap=0 raft=2,2 sensor=1,1 --output ./output_noAstrom -c calibrate.doAstrometry=False calibrate.doPhotoCal=False
(as I extrapolate from Debbie's instructions) I get this:
login1:PT1.2 $ $OBS_LSSTSIM_DIR/bin/processEimage.py ./ --id visit=99999999 filter=r snap=0 raft=2,2 sensor=1,1 --output ./output_noAstrom -c calibrate.doAstrometry=False calibrate.doPhotoCal=False
Traceback (most recent call last):
File "/home/cwalter/LSST/Summer_2013/Linux64/obs_lsstSim/7.1.2.0+2/bin/processEimage.py", line 25, in <module>
ProcessEimageTask.parseAndRun()
File "/home/cwalter/LSST/Summer_2013/Linux64/pipe_base/7.2.0.0+1/python/lsst/pipe/base/cmdLineTask.py", line 263, in parseAndRun
argumentParser = cls._makeArgumentParser()
File "/home/cwalter/LSST/Summer_2013/Linux64/obs_lsstSim/7.1.2.0+2/python/lsst/obs/lsstSim/processEimage.py", line 121, in _makeArgumentParser
return ArgumentParser(name=cls._DefaultName, datasetType="eimage")
File "/home/cwalter/LSST/Summer_2013/Linux64/pipe_base/7.2.0.0+1/python/lsst/pipe/base/argumentParser.py", line 227, in __init__
**kwargs)
TypeError: __init__() got an unexpected keyword argument 'datasetType'
Is there now an extra step necessary to allow the argumentParser to know about eimages?
Thanks,
-Chris
More information about the dm-users
mailing list