pipeline.h.tasks.restoredata.restoredata¶
The restore data module provides a class for reimporting, reflagging, and recalibrating a subset of the ASDMs belonging to a member OUS, using pipeline flagging and calibration data products.
The basic restore data module assumes that the ASDMs, flagging, and calibration data products are on disk in the rawdata directory in the format produced by the ExportData class.
- This class assumes that the required data products have been
o downloaded from the archive along with the ASDMs (not yet possible) o are sitting on disk in a form which is compatible with what is
produced by ExportData
To test these classes, register some data with the pipeline using ImportData, then execute:
import pipeline vis = [ ‘<ASDM name>’ ]
# Create a pipeline context and register some data context = pipeline.Pipeline().context inputs = pipeline.tasks.RestoreData.Inputs(context, vis=vis) task = pipeline.tasks.RestoreData(inputs) results = task.execute(dry_run=False) results.accept(context)
Classes
|
RestoreData is the base class for restoring flagged and calibrated data produced during a previous pipeline run and archived on disk. |
|
RestoreDataInputs manages the inputs for the RestoreData task. |
|