hsd_exportdata¶
- hsd_exportdata(pprfile: list[str] = None, targetimages: list[str] = None, products_dir: str = None) Results[source]¶
Export single-dish pipeline products to the
products/directory.Moves calibration tables, images (FITS format), and other pipeline products from the pipeline
working/directory to theproducts/directory.The following products are exported:
FITS images for each selected science target source.
A tar file per ASDM containing the final flag versions and baseline parameter (
blparam) tables.A tar file containing the WebLog.
- Parameters:
pprfile --
Name of the pipeline processing request to be exported. Defaults to a file matching the template 'PPR_*.xml'.
Example:
pprfile=['PPR_GRB021004.xml']targetimages --
List of science target images to be exported. Defaults to all science target images recorded in the pipeline context.
Example:
targetimages=['NGC3256.band3', 'NGC3256.band6'],targetimages=['r_aqr.CM02.spw5.line0.XXYY.sd.im', 'r_aqr.CM02.spw5.XXYY.sd.cont.im']products_dir --
Name of the data products subdirectory. Defaults to './'.
Example:
products_dir='../products'
Notes
QA = 1.0 if all products were successfully exported; QA = 0.0 otherwise.
- Returns:
The results object for the pipeline task is returned.
Examples
Export pipeline results to the data products directory:
>>> import os; os.makedirs('../products', exist_ok=True) >>> hsd_exportdata(products_dir='../products')