hsd_exportdata¶
Note
Parameters set to None will use intelligent defaults from the pipeline context.
Pass explicit values to override context defaults.
- hsd_exportdata(pprfile=None, targetimages=None, products_dir=None)[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 (list[str]) --
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[str]) --
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 (str) --
Name of the data products subdirectory. Defaults to './'.
Example:
products_dir='../products'
- Return type:
Results
Notes
QA = 1.0 if all products were successfully exported; QA = 0.0 otherwise.
Examples
Export pipeline results to the data products directory:
>>> import os; os.makedirs('../products', exist_ok=True) >>> hsd_exportdata(products_dir='../products')