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

Speed up creation of footprints table for Firefly

    XMLWordPrintable

Details

    • Improvement
    • Status: Done
    • Resolution: Done
    • None
    • display_firefly
    • None
    • 2
    • SUIT Sprint 2018-11
    • Science User Interface

    Description

      DM-15823 implemented a function createFootprintsTable to convert an afwTable.SourceCatalog into an astropy.io.VOTableFile for Firefly to draw LSST detection footprints. The function includes a slow loop over rows of the table to copy data from the input table to the output table, which can take tens of minutes for a large SourceCatalog.

      A column-wise copy appears to greatly speed up this function.

      Attachments

        Issue Links

          Activity

            shupe David Shupe added a comment -

            I've tested the fixes in the lsst-lspdev environment as well as on my local machine, and it speeds things up by factors of several.

            shupe David Shupe added a comment - I've tested the fixes in the lsst-lspdev environment as well as on my local machine, and it speeds things up by factors of several.
            shupe David Shupe added a comment -

            Reviewed and approved on the pull request.

            shupe David Shupe added a comment - Reviewed and approved on the pull request.

            People

              shupe David Shupe
              shupe David Shupe
              Tatiana Goldina
              Cindy Wang [X] (Inactive), David Shupe, Gregory Dubois-Felsmann, Jim Bosch, Tatiana Goldina, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.