LSST Applications  22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
Public Member Functions | List of all members
lsst.cp.pipe.makeBrighterFatterKernel.BrighterFatterKernelTaskDataIdContainer Class Reference
Inheritance diagram for lsst.cp.pipe.makeBrighterFatterKernel.BrighterFatterKernelTaskDataIdContainer:

Public Member Functions

def makeDataRefList (self, namespace)
 

Detailed Description

A DataIdContainer for the MakeBrighterFatterKernelTask.

Definition at line 225 of file makeBrighterFatterKernel.py.

Member Function Documentation

◆ makeDataRefList()

def lsst.cp.pipe.makeBrighterFatterKernel.BrighterFatterKernelTaskDataIdContainer.makeDataRefList (   self,
  namespace 
)
Compute refList based on idList.

This method must be defined as the dataset does not exist before this
task is run.

Parameters
----------
namespace
    Results of parsing the command-line.

Notes
-----
Not called if ``add_id_argument`` called
with ``doMakeDataRefList=False``.
Note that this is almost a copy-and-paste of the vanilla implementation,
but without checking if the datasets already exist,
as this task exists to make them.

Definition at line 228 of file makeBrighterFatterKernel.py.

228  def makeDataRefList(self, namespace):
229  """Compute refList based on idList.
230 
231  This method must be defined as the dataset does not exist before this
232  task is run.
233 
234  Parameters
235  ----------
236  namespace
237  Results of parsing the command-line.
238 
239  Notes
240  -----
241  Not called if ``add_id_argument`` called
242  with ``doMakeDataRefList=False``.
243  Note that this is almost a copy-and-paste of the vanilla implementation,
244  but without checking if the datasets already exist,
245  as this task exists to make them.
246  """
247  if self.datasetType is None:
248  raise RuntimeError("Must call setDatasetType first")
249  butler = namespace.butler
250  for dataId in self.idList:
251  refList = list(butler.subset(datasetType=self.datasetType, level=self.level, dataId=dataId))
252  # exclude nonexistent data
253  # this is a recursive test, e.g. for the sake of "raw" data
254  if not refList:
255  namespace.log.warn("No data found for dataId=%s", dataId)
256  continue
257  self.refList += refList
258 
259 
daf::base::PropertyList * list
Definition: fits.cc:913

The documentation for this class was generated from the following file: