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

Add metrics output and tests to gen3 jointcal

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: jointcal
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      AP F21-5 (October)
    • Team:
      Alert Production
    • Urgent?:
      No

      Description

      DM-27869 got gen3 jointcal working, but I skipped implementing a way to output measurements of the internal jointcal metrics due to lack of time. This ticket is to implement metric output, likely using one Connections.Output for each value. I might be able to keep using the Job object as place to hold the measurements until I `butler.put()` them.

        Attachments

          Issue Links

            Activity

            Hide
            Parejkoj John Parejko added a comment -

            Blocking this on DM-31966, since I refactored the gen3 test code here to use the new pipetask API to help me with debugging.

            Show
            Parejkoj John Parejko added a comment - Blocking this on DM-31966 , since I refactored the gen3 test code here to use the new pipetask API to help me with debugging.
            Hide
            Parejkoj John Parejko added a comment -

            Simon Krughoff: are you available to do this moderate-sized (~250 lines) review? I changed a bunch of jointcal metric names in verify_metrics, updated them in jointcal, added metrics output and testing to the gen3 codepath, and updated the gen3 test to use the new pipetask python API. The commits should be atomic, so you can do the review per-commit, if it helps. Please let me know if this approach is the way to go to get these metrics loadable by SQuaSH.

            verify_metrics PR: https://github.com/lsst/verify_metrics/pull/29
            jointcal PR: https://github.com/lsst/jointcal/pull/195

            Nate Lust: do you mind reviewing just this commit on jointcal? In particular, I'm curious what you think about how I setup the config overrides (line 321). I don't want jointcal's tests to use the instrument-specific overrides, so I don't think I want to use the full pipeline config override stuff that you talked about in the slack thread, but I'm not sure whether this is the best approach.

            https://github.com/lsst/jointcal/pull/195/commits/e9cd166cea6e3b5a67fd9d5a6b492a9b02d83385

            Show
            Parejkoj John Parejko added a comment - Simon Krughoff : are you available to do this moderate-sized (~250 lines) review? I changed a bunch of jointcal metric names in verify_metrics, updated them in jointcal, added metrics output and testing to the gen3 codepath, and updated the gen3 test to use the new pipetask python API. The commits should be atomic, so you can do the review per-commit, if it helps. Please let me know if this approach is the way to go to get these metrics loadable by SQuaSH. verify_metrics PR: https://github.com/lsst/verify_metrics/pull/29 jointcal PR: https://github.com/lsst/jointcal/pull/195 Nate Lust : do you mind reviewing just this commit on jointcal? In particular, I'm curious what you think about how I setup the config overrides (line 321). I don't want jointcal's tests to use the instrument-specific overrides, so I don't think I want to use the full pipeline config override stuff that you talked about in the slack thread, but I'm not sure whether this is the best approach. https://github.com/lsst/jointcal/pull/195/commits/e9cd166cea6e3b5a67fd9d5a6b492a9b02d83385
            Show
            Parejkoj John Parejko added a comment - - edited Jenkins run (with DM-31966 ): https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/35120/pipeline
            Hide
            krughoff Simon Krughoff added a comment -

            I can have a look. I likely won't be until tomorrow.

            Show
            krughoff Simon Krughoff added a comment - I can have a look. I likely won't be until tomorrow.
            Hide
            krughoff Simon Krughoff added a comment -

            Looks great. Two minor comments.

            Show
            krughoff Simon Krughoff added a comment - Looks great. Two minor comments.
            Hide
            Parejkoj John Parejko added a comment -

            Post review cleanup Jenkins (using the updated masters of ctrl_mpexec/pipe_base from DM-31966): https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/35142/pipeline

            Show
            Parejkoj John Parejko added a comment - Post review cleanup Jenkins (using the updated masters of ctrl_mpexec/pipe_base from DM-31966 ): https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/35142/pipeline

              People

              Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Reviewers:
              Simon Krughoff
              Watchers:
              Ian Sullivan, John Parejko, Nate Lust, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.