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

Document gen2 to gen3 refcat ingestion

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • None
    • None

    Description

      The current command line script `butler convert` performs a large number of tasks in addition to reference catalog conversion, including sky map mapping, raw data ingestion and data ID processing.

      Recent use of this command whilst setting up a new butler on a new machine highlighted the need for a standalone gen2 to gen3 refcat conversion script. When running:

      butler convert $REPO --gen2root $GEN2REPO -C convert_refcats.py
      

      the script fails with:

      RuntimeError: No exposures given.
      

      (full output log attached to this ticket).

      This ticket aims to copy the relevant parts of code within `obs/base/gen2to3/rootRepoConverter.py` and place them into a new script within `meas_algorithms` use existing butler tools to provide updated instructions in the existing pipelines.lsst.io reference catalog documentation.

      Attachments

        Issue Links

          Activity

            People

              lskelvin Lee Kelvin
              lskelvin Lee Kelvin
              John Parejko
              Ian Sullivan, John Parejko, Lee Kelvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.