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

SpanSet.fromShape() fails for circles with radii > 46340 pixels

    Details

    • Type: Bug
    • Status: In Review
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw, geom
    • Labels:
      None
    • Templates:
    • Team:
      Data Release Production

      Description

      Because of the way the calculations are performed (involving squaring the radius) the maximum size supported by SpanSet.fromShape( radius , Stencil.CIRCLE) is 46340, the largest integer less than the square root of the largest positive signed 32-bit integer.

      (This is about 2.6 degrees at the LSST pixel scale.)

      Nonsensical results are returned when this limit is exceeded; no exception is thrown.

      See the linked ticket for the source of the observation of this error (in the cutout service).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nlust Nate Lust
                Reporter:
                gpdf Gregory Dubois-Felsmann
                Reviewers:
                Gregory Dubois-Felsmann
                Watchers:
                Gregory Dubois-Felsmann, John Swinbank, Kenny Lo, Nate Lust
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel