LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.meas.algorithms.ingestIndexReferenceTask Namespace Reference

Classes

class  DatasetConfig
 
class  IngestIndexedReferenceConfig
 
class  IngestIndexedReferenceTask
 
class  IngestReferenceRunner
 

Functions

def addRefCatMetadata (catalog)
 

Variables

int LATEST_FORMAT_VERSION = 1
 

Function Documentation

◆ addRefCatMetadata()

def lsst.meas.algorithms.ingestIndexReferenceTask.addRefCatMetadata (   catalog)
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 49 of file ingestIndexReferenceTask.py.

49 def addRefCatMetadata(catalog):
50  """Add metadata to a new (not yet populated) reference catalog.
51 
52  Parameters
53  ----------
54  catalog : `lsst.afw.table.SimpleCatalog`
55  Catalog to which metadata should be attached. Will be modified
56  in-place.
57  """
58  md = catalog.getMetadata()
59  if md is None:
60  md = PropertyList()
61  md.set("REFCAT_FORMAT_VERSION", LATEST_FORMAT_VERSION)
62  catalog.setMetadata(md)
63 
64 

Variable Documentation

◆ LATEST_FORMAT_VERSION

int lsst.meas.algorithms.ingestIndexReferenceTask.LATEST_FORMAT_VERSION = 1

Definition at line 46 of file ingestIndexReferenceTask.py.