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

Store skymap definitions directly in butler registry

    XMLWordPrintable

    Details

    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      Our pickled skymap definition files are now largely a Gen2 relic, and it'd be nice to get rid of them in favor of putting the skymap configuration in a registry blob field for a number of reasons:

      • it removes a pickled dataset
      • it improves how defaulting of skymap dimensions at butler construction works in practice
      • it opens the door a bit to registry not actually needing to have tables with rows for each patch

      I'm envisioning a daf_butler ABC for both BaseSkyMap and Instrument, and a way to associate a governor dimension with a class or factory method, with the registry dimension record holding at least a Python qualified name (as instrument already does) and optionally some state (as skymap needs).

      This will involve schema changes.

        Attachments

          Activity

          No builds found.
          jbosch Jim Bosch created issue -
          tjenness Tim Jenness made changes -
          Field Original Value New Value
          Labels gen3-middleware gen3-middleware gen3-registry-incompatibility
          Hide
          jbosch Jim Bosch added a comment -

          For the record, this is not something I was planning to do terribly soon, let alone for RFC-836. It's just capturing the results of a Slack conversation for some indeterminate time in the future.

          Show
          jbosch Jim Bosch added a comment - For the record, this is not something I was planning to do terribly soon, let alone for RFC-836 . It's just capturing the results of a Slack conversation for some indeterminate time in the future.

            People

            Assignee:
            jbosch Jim Bosch
            Reporter:
            jbosch Jim Bosch
            Watchers:
            Jim Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Jenkins

                No builds found.