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

Add ExposureInfo id getter (replacement for VisitInfo.getExposureId())

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw
    • Urgent?:
      No

      Description

      Before deprecating and removing VisitInfo.getExposureId(), we need a replacement in ExposureInfo. It will contain the same id as the one currently in VisitInfo. How to populate it may be a question, since VisitInfo gets populated by ObservationInfo; can we do something similar to get exposureId into ExposureInfo for raws?

      I've started a #dm-naming-things thread to figure out what to call the new id(s).

        Attachments

          Issue Links

            Activity

            Hide
            tjenness Tim Jenness added a comment -

            ObservationInfo can populate this in the gen3 raw formatter just like VisitInfo is formed or in the formatter it can simply trust the butler and use the exposure that comes from the dataId. After that it should propagate on its own. I assume we are talking about exposure_id here and not detector_exposure_id?

            Show
            tjenness Tim Jenness added a comment - ObservationInfo can populate this in the gen3 raw formatter just like VisitInfo is formed or in the formatter it can simply trust the butler and use the exposure that comes from the dataId. After that it should propagate on its own. I assume we are talking about exposure_id here and not detector_exposure_id?
            Hide
            Parejkoj John Parejko added a comment -

            This is to be exactly the same as the existing visitInfo.exposureId, which is the detector-level identifier and is attached to each afw Exposure. I could call it getDetectorExposureId() or getSensorExposureId()? I don't know where your version of the "exposure id" (the full focal plane identifier of a single shutter operation) should live.

            Show
            Parejkoj John Parejko added a comment - This is to be exactly the same as the existing visitInfo.exposureId , which is the detector-level identifier and is attached to each afw Exposure. I could call it getDetectorExposureId() or getSensorExposureId() ? I don't know where your version of the "exposure id" (the full focal plane identifier of a single shutter operation) should live.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Parejkoj John Parejko
              Watchers:
              Ian Sullivan, Jim Bosch, John Parejko, Tim Jenness, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  CI Builds

                  No builds found.