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

Update mask name in for vignetted region to match established convention

    XMLWordPrintable

    Details

      Description

      As was noted on DM-29280, and quoting from this comment,
      Ok, as for the vignetting mask setting, I think we're currently living in a strange and inconsistent state.  As noted above, obs_subaru assigns a NO_DATA plane to the vignetted region of the calibration FLAT (and thus gets propagated via mask OR-ing when the FLAT is applied).  On the other hand, the only other place I can find in the codebase where a similar masking is attached to the FLAT is in the CpFlatMeasureTask in cp_pipe, but this function uses the BAD mask plane for the vignette masking (also in the default function parameter setting here and, as a side note, no polygon is passed in, so unless the FLAT has a getValidPolygon() set, this will raise with a RuntimeError). I would think these mask names & definitions should be kept consistent.
      And, indeed, they should. obs_subaru has the set the long-standing convention of marking the vignetted region with the NO_DATA mask plane, so the same should be done in cp_pipe.

        Attachments

          Issue Links

            Activity

            Hide
            lauren Lauren MacArthur added a comment - - edited

            I have pushed a branch to make this update, but I would like to do some "playing" with the new mask name setting using DC2 data, but am currently blocked on an issue in processing those data (see details in this slack posting).

            Show
            lauren Lauren MacArthur added a comment - - edited I have pushed a branch to make this update, but I would like to do some "playing" with the new mask name setting using DC2 data, but am currently blocked on an issue in processing those data (see details in this slack posting ).
            Hide
            lauren Lauren MacArthur added a comment - - edited

            Sorry for dropping the ball on this one.  I've pushed a branch and Jenkins is running green. Please let me know if there are any other tests I should run (e.g. I'm not sure what the current status/protocols are for running the ci_cpp_gen[2/3] tests are, but happy to do so with a quick set of instructions!)

            PR is here.

            Show
            lauren Lauren MacArthur added a comment - - edited Sorry for dropping the ball on this one.  I've pushed a branch and Jenkins is running green . Please let me know if there are any other tests I should run (e.g. I'm not sure what the current status/protocols are for running the ci_cpp_gen [2/3] tests are, but happy to do so with a quick set of instructions!) PR is here .
            Hide
            czw Christopher Waters added a comment -

            I don't think I saw an email making me the reviewer, otherwise I would have gotten to this sooner.  It all looks good to me.

            Show
            czw Christopher Waters added a comment - I don't think I saw an email making me the reviewer, otherwise I would have gotten to this sooner.  It all looks good to me.
            Hide
            lauren Lauren MacArthur added a comment -

            Great, thanks Chris.  Merged and done.

            Show
            lauren Lauren MacArthur added a comment - Great, thanks Chris.  Merged and done.

              People

              Assignee:
              lauren Lauren MacArthur
              Reporter:
              lauren Lauren MacArthur
              Reviewers:
              Christopher Waters
              Watchers:
              Christopher Waters, Lauren MacArthur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.