Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-459

Remove exposureId from VisitInfo and add visitId

    XMLWordPrintable

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None

      Description

      The exposureId value in visitInfo is not a visit-exposure level identifier, but rather a ccd-exposure level identifier (see docstring for obs.base.CameraMapper._computeCcdExposureId() for the only place where this seems to be specified). Thus, it should not be included in visitInfo, which is only things that are common across the visit.

      We do need a visit-exposure level identifier to be included in visitInfo, so that we can link exposures within visits without using the butler (e.g. without dataRef.dataId['visit']). This RFC likely requires that makeRawVisitInfo() adds the butler visitId to the new visitInfo.visitId, unless there is some other way to access the visitId value besides the above butler call.

      Concrete proposal:

      • Move exposureId from VisitInfo into ExposureInfo.
      • Add visitId to VisitInfo, and include it as part of makeRawVisitInfo.
      • Document the meaning of exposureId to be clear that it is per-ccd.
      • Document whether visitId can be derived from exposureId, or whether those are decoupled.
      • Document the meaning of visitId to be clear that it is per-visit.

      See this discussion that generated this RFC:

      https://lsstc.slack.com/archives/C3UCAEW3D/p1517724549000034

        Attachments

          Issue Links

            Activity

            Parejkoj John Parejko created issue -
            Parejkoj John Parejko made changes -
            Field Original Value New Value
            Link This issue relates to DM-13738 [ DM-13738 ]
            Parejkoj John Parejko made changes -
            Planned End 14/Mar/18 6:42 PM 16/Mar/18 6:42 PM
            Parejkoj John Parejko made changes -
            Link This issue is triggering DM-13942 [ DM-13942 ]
            Parejkoj John Parejko made changes -
            Status Proposed [ 10805 ] Adopted [ 10806 ]
            tjenness Tim Jenness made changes -
            Link This issue is triggering DM-13738 [ DM-13738 ]
            tjenness Tim Jenness made changes -
            Link This issue relates to DM-13738 [ DM-13738 ]
            Parejkoj John Parejko made changes -
            Link This issue is triggering DM-13944 [ DM-13944 ]
            Parejkoj John Parejko made changes -
            Link This issue is triggering DM-13943 [ DM-13943 ]
            Parejkoj John Parejko made changes -
            Link This issue is triggering DM-29955 [ DM-29955 ]
            jbosch Jim Bosch made changes -
            Link This issue relates to RFC-785 [ RFC-785 ]
            Parejkoj John Parejko made changes -
            Link This issue relates to DM-31773 [ DM-31773 ]
            krzys Krzysztof Findeisen made changes -
            Resolution Done [ 10000 ]
            Status Adopted [ 10806 ] Implemented [ 11105 ]
            tjenness Tim Jenness made changes -
            Remote Link This issue links to "Page (Confluence)" [ 31438 ]

              People

              Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Watchers:
              Eli Rykoff, Jim Bosch, John Parejko, John Swinbank, Meredith Rawls, Russell Owen, Tim Jenness, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Planned End:

                  Jenkins

                  No builds found.