Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9463

Stripe 82 coadds cannot be read as ExposureF

    Details

    • Type: Bug
    • Status: Invalid
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Team:
      Data Release Production

      Description

      A v12.1 stack is not able to read in a deep coadd from Stripe 82 as an ExposureF.

      How to reproduce, on lsst-dev:

      import lsst.afw.image as afwImage
      ExposureF('/datasets/sdss/preprocessed/dr7/sdss_stripe82_00/coadd/deepCoadd/r/0/201,10/coadd-r-0-201,10.fits')
      

      raises

      MalformedArchiveError: 
        File "src/CoaddPsf.cc", line 358, in virtual std::shared_ptr<lsst::afw::table::io::Persistable> lsst::meas::algorithms::CoaddPsf::Factory::read(const InputArchive&, const CatalogVector&) const
          Archive assertion failed: catalogs.size() == 2u {0}
        File "src/table/io/InputArchive.cc", line 105, in std::shared_ptr<lsst::afw::table::io::Persistable> lsst::afw::table::io::InputArchive::Impl::get(int, const lsst::afw::table::io::InputArchive&)
          loading object with id=1686, name='CoaddPsf' {1}
      lsst::afw::table::io::MalformedArchiveError: 'Archive assertion failed: catalogs.size() == 2u {0}; loading object with id=1686, name='CoaddPsf' {1}'
      

      How the stack was installed (on 15 Feb 2017, so I believe it is v12.1 stack):

      conda config --add channels http://conda.lsst.codes/stack
      conda create --name lsst python=2
      source activate lsst
      conda install lsst-obs-sdss
      source eups-setups.sh
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  shupe David Shupe
                  Watchers:
                  David Shupe, Gregory Dubois-Felsmann, Jim Bosch, Kian-Tat Lim
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel