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

Include alias maps in output schema when denormalizing matches

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw, meas_astrom
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Sprint:
      DRP F18-5
    • Team:
      Data Release Production

      Description

      There are two functions in the stack that effectively generate a denormalized catalog of matches.  The matches between a reference and source catalog are "joined' into a single "match" catalog, putting a ref_ or src_ prefix on the field names for the reference and source fields, respectively.  However, when the schema for the match catalog is created, it does not propagate any aliases that may be set, which will then break any code looking for a field by its alias name (often happens with aliases set for backwards compatibility).  This ticket is to update the following functions to include the aliases from the individual catalogs in the schema for the matched catalog:

      • matchesToCatalog in afw (here
      • denormalizeMatches in meas_astrom (here)

      I will leave it for a future tickets whether these two very similar functions should be consolidated into one.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                lauren Lauren MacArthur
                Reporter:
                lauren Lauren MacArthur
                Reviewers:
                Ian Sullivan
                Watchers:
                Ian Sullivan, Jim Bosch, Lauren MacArthur, Yusra AlSayyad
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel