LSSTApplications  18.0.0+46,18.0.0+93,19.0.0,19.0.0+1,19.0.0+2,19.0.0+3,19.0.0+4,19.0.0-1-g20d9b18+2,19.0.0-1-g3dc8cbe+2,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+2,19.0.0-1-g5db401e+3,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+2,19.0.0-1-g8c57eb9+2,19.0.0-1-g9828021+2,19.0.0-1-gb5175dc+2,19.0.0-1-gd7f3e1b+2,19.0.0-1-gdc0e4a7+2,19.0.0-1-ge272bc4+2,19.0.0-2-g0d9f9cd+2,19.0.0-2-g1c703f9ef+1,19.0.0-2-g3d9e4fb2+2,19.0.0-2-gd955cfd+2,19.0.0-3-g2d13df8,19.0.0-3-g63079e6+2,19.0.0-7-g8a434f2+1,19.0.0-7-gf796fef9+3,w.2019.49
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 44 of file ingestIndexReferenceTask.py.

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

Variable Documentation

◆ LATEST_FORMAT_VERSION

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

Definition at line 41 of file ingestIndexReferenceTask.py.