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

Classes

class  DatasetConfig
 
class  IngestGaiaReferenceTask
 
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 46 of file ingestIndexReferenceTask.py.

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

Variable Documentation

◆ LATEST_FORMAT_VERSION

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

Definition at line 43 of file ingestIndexReferenceTask.py.

lsst::meas::algorithms.ingestIndexReferenceTask.addRefCatMetadata
def addRefCatMetadata(catalog)
Definition: ingestIndexReferenceTask.py:46