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

wave front sensors don't read correctly with Gen3

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_lsst
    • Labels:
      None
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      It appears that something's broken in the Gen3 code to read LSST wave front sensors, although they are fine in Gen2.

      The symptoms are this;  note the explicit range(1, 16 + 1) although the wavefront chips have only 8 amps

      ~/LSST/obs/lsst/python/lsst/obs/lsst/assembly.py in readRawAmps(fileName, detector)
          274     for hdu in range(1, 16+1):
      --> 275         exp = afwImage.makeExposure(afwImage.makeMaskedImage(afwImage.ImageF(fileName, hdu=hdu)))
          276         exp.setDetector(detector)
       
      FitsError: 
        File "src/fits.cc", line 1425, in int lsst::afw::fits::Fits::getImageDim()
          cfitsio error (/lsstdata/offline/teststand/BOT/gen3repo/LSSTCam/raw/all/raw/unknown/UNKNOWN/raw_unknown_UNKNOWN_3020082500032_199_LSSTCam_LSSTCam_raw_all.fits): CHDU not an IMAGE extension (233) : Getting NAXIS
      cfitsio error stack:
       {0}
      lsst::afw::fits::FitsError: 'cfitsio error (/lsstdata/offline/teststand/BOT/gen3repo/LSSTCam/raw/all/raw/unknown/UNKNOWN/raw_unknown_UNKNOWN_3020082500032_199_LSSTCam_LSSTCam_raw_all.fits): CHDU not an IMAGE extension (233) : Getting NAXIS
      

       

        Attachments

          Activity

          Hide
          rhl Robert Lupton added a comment -

          Simple one line fix

          Show
          rhl Robert Lupton added a comment - Simple one line fix

            People

            Assignee:
            rhl Robert Lupton
            Reporter:
            rhl Robert Lupton
            Reviewers:
            Tim Jenness
            Watchers:
            Robert Lupton, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins Builds

                No builds found.