Well after some trial and error, and a few notes from Dominique, I have at least been able to ingest some megacam data. MegacamMapper doesn’t seem to recognize the gri filter, but the real problem I am running into is with a missing defects file for the camera during processCcd.py step. I can see that I am supposed to ingest that file, but my google-fu hasn’t returned the location of that file. Anyone have it?
I have copied the command and error output below if useful.
Thanks for the help!
Wes
(lsst-scipipe-4d7b902) ubuntu@lsst-test:/mnt$ processCcd.py DATA_CFHT --rerun processCcdOutputs --id
root INFO: Loading config overrride file ‘/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/obs_cfht/19.0.0+2/config/processCcd.py’
CameraMapper INFO: Loading exposure registry from /mnt/DATA_CFHT/registry.sqlite3
root INFO: Running: /home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_tasks/19.0.0+2/bin/processCcd.py DATA_CFHT --rerun processCcdOutputs --id
WARNING: You are using OpenBLAS with multiple threads (4), but have not
specified the number of threads using one of the OpenBLAS environment variables:
OPENBLAS_NUM_THREADS, GOTO_NUM_THREADS, OMP_NUM_THREADS.
This may indicate that you are unintentionally using multiple threads, which may
cause problems. WE HAVE THEREFORE DISABLED OpenBLAS THREADING. If you know
what you are doing and want threads enabled implicitly, set the environment
variable LSST_ALLOW_IMPLICIT_THREADS.
processCcd INFO: Processing {‘runId’: ‘19AC24’, ‘object’: ‘SatEastDis’, ‘date’: ‘2019-07-01’, ‘filter’: ‘r2’, ‘visit’: 2426913, ‘state’: ‘p’, ‘extension’: 1, ‘ccd’: 0, ‘taiObs’: ‘2019-07-01T09:06:59.24’, ‘expTime’: 205.112}
processCcd.isr INFO: Performing ISR on sensor {‘runId’: ‘19AC24’, ‘object’: ‘SatEastDis’, ‘date’: ‘2019-07-01’, ‘filter’: ‘r2’, ‘visit’: 2426913, ‘state’: ‘p’, ‘extension’: 1, ‘ccd’: 0, ‘taiObs’: ‘2019-07-01T09:06:59.24’, ‘expTime’: 205.112}.
daf.persistence.butler WARN: butlerLocationExists for non-supported storage None at None(/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/obs_cfht/19.0.0+2/policy/…/megacam/defects/test.mask.0.40.01.nn/ccd00.fits)
daf.persistence.butler WARN: butlerLocationExists for non-supported storage None at None(/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/obs_cfht/19.0.0+2/policy/…/megacam/defects/test.mask.0.40.01.nn/ccd00.fits)
processCcd FATAL: Failed on dataId={‘runId’: ‘19AC24’, ‘object’: ‘SatEastDis’, ‘date’: ‘2019-07-01’, ‘filter’: ‘r2’, ‘visit’: 2426913, ‘state’: ‘p’, ‘extension’: 1, ‘ccd’: 0, ‘taiObs’: ‘2019-07-01T09:06:59.24’, ‘expTime’: 205.112}: NoResults: No locations for get: datasetType:defects dataId:DataId(initialdata={‘runId’: ‘19AC24’, ‘object’: ‘SatEastDis’, ‘date’: ‘2019-07-01’, ‘filter’: ‘r2’, ‘visit’: 2426913, ‘state’: ‘p’, ‘extension’: 1, ‘ccd’: 0, ‘taiObs’: ‘2019-07-01T09:06:59.24’, ‘expTime’: 205.112}, tag=set())
Traceback (most recent call last):
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/19.0.0/python/lsst/pipe/base/cmdLineTask.py”, line 388, in call
result = self.runTask(task, dataRef, kwargs)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/19.0.0/python/lsst/pipe/base/cmdLineTask.py”, line 447, in runTask
return task.runDataRef(dataRef, **kwargs)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/19.0.0/python/lsst/pipe/base/timer.py”, line 150, in wrapper
res = func(self, *args, **keyArgs)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_tasks/19.0.0+2/python/lsst/pipe/tasks/processCcd.py”, line 184, in runDataRef
exposure = self.isr.runDataRef(sensorRef).exposure
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/19.0.0/python/lsst/pipe/base/timer.py”, line 150, in wrapper
res = func(self, *args, **keyArgs)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ip_isr/19.0.0/python/lsst/ip/isr/isrTask.py”, line 1466, in runDataRef
isrData = self.readIsrData(sensorRef, ccdExposure)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/ip_isr/19.0.0/python/lsst/ip/isr/isrTask.py”, line 926, in readIsrData
if self.config.doDefect else None)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/19.0.0/python/lsst/daf/persistence/butlerSubset.py”, line 206, in get
return self.butlerSubset.butler.get(datasetType, self.dataId, **rest)
File “/home/ubuntu/lsst_stack/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/19.0.0/python/lsst/daf/persistence/butler.py”, line 1380, in get
raise NoResults(“No locations for get:”, datasetType, dataId)
lsst.daf.persistence.butlerExceptions.NoResults: No locations for get: datasetType:defects dataId:DataId(initialdata={‘runId’: ‘19AC24’, ‘object’: ‘SatEastDis’, ‘date’: ‘2019-07-01’, ‘filter’: ‘r2’, ‘visit’: 2426913, ‘state’: ‘p’, ‘extension’: 1, ‘ccd’: 0, ‘taiObs’: ‘2019-07-01T09:06:59.24’, ‘expTime’: 205.112}, tag=set())