Add metadata to a new (not yet populated) reference catalog.
Parameters
----------
catalog : `lsst.afw.table.SimpleCatalog`
Catalog to which metadata should be attached. Will be modified
in-place.
Definition at line 46 of file ingestIndexReferenceTask.py.
47 """Add metadata to a new (not yet populated) reference catalog.
51 catalog : `lsst.afw.table.SimpleCatalog`
52 Catalog to which metadata should be attached. Will be modified
55 md = catalog.getMetadata()
58 md.set(
"REFCAT_FORMAT_VERSION", LATEST_FORMAT_VERSION)
59 catalog.setMetadata(md)