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

Include Filter in Gen3 HSC raw formatter

    XMLWordPrintable

    Details

      Description

      The Gen3 formatter class for HSC raw data doesn't call setFilter on the returned Exposure, which is a problem for downstream processing.  To fix that, we need to:

      • add a makeFilter to FitsRawExposureFormatterBase in daf_butler, similar to the existing makeWcs and makeVisitInfo (including using it in the base class readInfoComponent.
      • implement makeFilter in obs_subaru appropriately.

      We'll probably have to call the afw.image.Filter constructor with force=True to try to avoid mucking with the global variables (and hope no one else does); a better solution will have to wait for RFC-541.

        Attachments

          Activity

          Hide
          jbosch Jim Bosch added a comment -

          Nate Lust, I think this should fix the problem you're seeing in reading reference catalogs, though I'd appreciate a test of that because I've tried to avoid populating the Filter global variables in the hopes we don't need them for this.

          PRs are:

          Note that these are branched from master, not DM-17489, so you'll need to make your own working branches if you want to use them together (I'm assuming this one will merge first, and then I'll rebase DM-17489).

          Show
          jbosch Jim Bosch added a comment - Nate Lust , I think this should fix the problem you're seeing in reading reference catalogs, though I'd appreciate a test of that because I've tried to avoid populating the Filter global variables in the hopes we don't need them for this. PRs are: daf_butler obs_subaru ci_hsc Note that these are branched from master, not DM-17489 , so you'll need to make your own working branches if you want to use them together (I'm assuming this one will merge first, and then I'll rebase DM-17489 ).

            People

            Assignee:
            jbosch Jim Bosch
            Reporter:
            jbosch Jim Bosch
            Reviewers:
            Nate Lust
            Watchers:
            Jim Bosch, Nate Lust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.