Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
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.
Comments below copied from a thread by Jim Bosch on Slack, providing instructions for which bits of the currently existing code need to be extracted and placed in a stand-alone script: