Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:Alert Production F16 - 10
-
Team:Alert Production
Description
Loading a deepCoadd as an afw Exposure gives the following error:
>>> import lsst.afw.image as afwImage |
>>> coadd = afwImage.ExposureF("validation_data_hsc/DATA/rerun/20160805/deepCoadd/HSC-Y/0/7,7.fits") |
31424 [0x7fff74d45000] DEBUG afw.image.Mask null - Number of mask planes: 16 |
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module> |
File "/opt/sw/lsstsw/stack/DarwinX86/afw/12.1-4-gaba3f16/python/lsst/afw/image/imageLib.py", line 11623, in __init__ |
this = _imageLib.new_ExposureF(*args) |
lsst.pex.exceptions.wrappers.LogicError:
|
File "include/lsst/afw/table/BaseRecord.h", line 95, in const typename Field<T>::Element *lsst::afw::table::BaseRecord::getElement(const Key<T> &) const [T = int] |
Key is not valid (if this is a SourceRecord, make sure slot aliases have been setup). {0} |
File "src/table/io/InputArchive.cc", line 105, in std::shared_ptr<Persistable> lsst::afw::table::io::InputArchive::Impl::get(int, const lsst::afw::table::io::InputArchive &) |
loading object with id=132, name='CoaddPsf' {1} |
lsst::pex::exceptions::LogicError: 'Key is not valid (if this is a SourceRecord, make sure slot aliases have been setup). {0}; loading object with id=132, name='CoaddPsf' {1}' |
This used to work, or at least it worked with a stack from Sep 8.
Attachments
Issue Links
- relates to
-
DM-5503 Implement single interface to sanitized exposure metadata
- Done
The problem is seen when loading old coadds. New coadds, obtained by running ci_hsc with the current code, can be loaded without problems.
The coadd from validation_data_hsc rerun/20160805 as in the description is copied to lsst-dev:/lsst8/hchiang2/coadd/7,7.fits