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

Suppress irrelevant warning when reading metadata objects

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Team:
      Data Release Production

      Description

      When trying to access the wcs of a "raw" exposure, the following warning is issued;

      afw.image.MaskedImageFitsReader WARN: Expected extension type not found: IMAGE
      

      This warning is not relevant and can get quite verbose when looping over all CCDs of full visits. Please remove.

      How to reproduce on lsst-dev:

      import lsst.daf.persistence as dafPersist
       
      butlerDir = "/datasets/hsc/repo/rerun/RC/w_2019_22/DM-19244"
      butler = dafPersist.Butler(butlerDir)
      dataId = {"visit": 1228, "filter": "HSC-I", "ccd":49}
      rawWcs = butler.get("raw_wcs", dataId)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lauren Lauren MacArthur
              Watchers:
              Jim Bosch, John Parejko, Lauren MacArthur, Yusra AlSayyad
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel