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

Make calibration source selection consistent between gen2 and gen3 middleware - part deux

    XMLWordPrintable

    Details

    • Story Points:
      8
    • Epic Link:
    • Sprint:
      DRP S21b
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      Analysis on DM-29819 revealed some residual issues related to loading of reference catalogs. Specifically, because of an inconsistent setting of the config parameter:
      calibrate.astromRefObjLoader.pixelMargin
      and the
      computeVisitRegions["single-raw-wcs"].padding
      of defineVisits.py
      there are cases where slightly different reference catalogs are getting loaded in gen2 vs. gen3, I think the logic should be that pixelMargin <= computeVisitRegions["single-raw-wcs"].padding. However, as it stands, the default for pixelMargin is 300 and, in cases we were unlucky not to encounter in ci_hsc, this can lead to a smaller loaded region in gen3 because of the smaller visit padded definition (i.e. if a shard edge lies close to the padded visit edge). See DM-29819 for an example.

      While I'm not sure it will be possible to check the above condition in a config "validation", I think we should at least ensure it is satisfied for the stack defaults as well as any overrides in individual obs_ packages.

        Attachments

        1. allRefCats_19662_1_newPad.png
          allRefCats_19662_1_newPad.png
          359 kB
        2. allRefCats_19662_1_origPad.png
          allRefCats_19662_1_origPad.png
          370 kB
        3. allRefCats_257768_0_newPad.png
          allRefCats_257768_0_newPad.png
          411 kB
        4. allRefCats_257768_0_origPad.png
          allRefCats_257768_0_origPad.png
          417 kB
        5. allRefCats_289408_1_newPad.png
          allRefCats_289408_1_newPad.png
          414 kB
        6. allRefCats_289408_1_origPad.png
          allRefCats_289408_1_origPad.png
          424 kB
        7. fixedGen3_19662_1.png
          fixedGen3_19662_1.png
          482 kB
        8. gen2gen3trimmedRefCats.png
          gen2gen3trimmedRefCats.png
          837 kB
        9. gen2gen3trimmedRefCatsFix.png
          gen2gen3trimmedRefCatsFix.png
          738 kB
        10. gen3RefLoadingIssue.png
          gen3RefLoadingIssue.png
          655 kB
        11. trimmedInput.png
          trimmedInput.png
          152 kB
        12. wcsRoundTrip.png
          wcsRoundTrip.png
          180 kB
        13. wcsRoundTripZoom.png
          wcsRoundTripZoom.png
          393 kB

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              Assignee:
              lauren Lauren MacArthur
              Reporter:
              lauren Lauren MacArthur
              Reviewers:
              Jim Bosch
              Watchers:
              Eli Rykoff, Jim Bosch, John Parejko, Kian-Tat Lim, Lauren MacArthur
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.