Thanks Paul!
Here is what I am doing:
# Source for enabling gcc-6
source devtoolset-6/enable
# Source LSST
source loadLSST.bash
# Setup pipe_tasks, pipe_drivers, obs_subaru
setup pipe_tasks
setup pipe_drivers
setup obs_subaru
cd lsst_stack
mkdir DATA
echo "lsst.obs.hsc.HscMapper" > DATA/_mapper
installTransmissionCurves.py DATA
ingestImages.py DATA rawdata/*.fits --mode=link --create
# Test using sqlite that the files have been ingested properly
#cd DATA
#sqlite3 registry.sqlite3
#sqlite> .header on
#sqlite> select visit, filter, field, count(visit)
# ...> from raw
# ...> group by visit, filter, field;
# This properly shows all the ingested HSC-G images, DOMEFLAT, BIAS and DARK files.
constructBias.py DATA --calib DATA/CALIB --rerun calib --id visit=132732..132740:2
This last command fails giving the following output:
root INFO: Loading config overrride file '/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/obs_subaru/17.0.1/config/hsc/bias.py'
Traceback (most recent call last):
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_drivers/17.0.1/bin/constructBias.py", line 3, in <module>
BiasTask.parseAndSubmit()
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/ctrl_pool/17.0.1/python/lsst/ctrl/pool/parallel.py", line 437, in parseAndSubmit
**kwargs)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/ctrl_pool/17.0.1/python/lsst/ctrl/pool/parallel.py", line 346, in parse_args
args.parent = self._parent.parse_args(config, args=leftover, **kwargs)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_drivers/17.0.1/python/lsst/pipe/drivers/constructCalibs.py", line 311, in parse_args
namespace = ArgumentParser.parse_args(self, *args, **kwargs)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/17.0.1/python/lsst/pipe/base/argumentParser.py", line 639, in parse_args
self._applyInitialOverrides(namespace)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pipe_base/17.0.1/python/lsst/pipe/base/argumentParser.py", line 837, in _applyInitialOverrides
namespace.config.load(filePath)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pex_config/17.0.1/python/lsst/pex/config/config.py", line 938, in load
self.loadFromStream(stream=code, root=root)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/pex_config/17.0.1/python/lsst/pex/config/config.py", line 976, in loadFromStream
exec(stream, {}, local)
File "/mnt/home/faculty/csurhud/lsst_stack/stack/miniconda3-4.5.4-fcd27eb/Linux64/obs_subaru/17.0.1/config/hsc/bias.py", line 4, in <module>
from lsst.obs.subaru.isr import SubaruIsrTask
ModuleNotFoundError: No module named 'lsst.obs.subaru.isr'
For confirming that I do not have any other things going on, I deleted my previous DATA directory and reran the above commands again to confirm that I can reproduce this error.