LSSTApplications  18.0.0+64,19.0.0+35,19.0.0+37,19.0.0+39,19.0.0+4,19.0.0+44,19.0.0+8,19.0.0-1-g20d9b18+20,19.0.0-1-g49a97f9+2,19.0.0-1-g5549ca4+3,19.0.0-1-g8c57eb9+20,19.0.0-1-ga72da6b+2,19.0.0-1-gbfe0924+22,19.0.0-1-ge272bc4+20,19.0.0-1-gefe1d0d+16,19.0.0-10-g17493b7+4,19.0.0-13-g154200d1e+1,19.0.0-2-g0d9f9cd+36,19.0.0-2-g260436e+20,19.0.0-2-g9675b69+2,19.0.0-2-g9b11441+24,19.0.0-2-gde8e5e3+2,19.0.0-2-gf01c5b1,19.0.0-2-gff6972b+4,19.0.0-21-gaaa92db+5,19.0.0-28-g53bcf5f6+3,19.0.0-3-g27e4659+5,19.0.0-3-g6513920+23,19.0.0-3-gce3f959+9,19.0.0-5-g9aa49c1+1,19.0.0-6-gb5bb71e+13,19.0.0-7-g2f7a0e4+4,19.0.0-7-g686a884+3,19.0.0-7-ga57c4689+11,19.0.0-7-gfdb4f68+3,19.0.0-9-g0ae078d+3,w.2020.08
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.