hsdn_exportdata¶
- hsdn_exportdata(pprfile: list[str] = None, targetimages: list[str] = None, products_dir: str = None) Results[source]¶
Prepare single dish data for export.
The hsdn_exportdata task exports the data defined in the pipeline context and exports it to the data products directory, converting and or packing it as necessary.
The current version of the task exports the following products
a FITS image for each selected science target source image
a tar file per MS containing the final flags version and blparam
a tar file containing the file web log
- 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'
- Returns:
The results object for the pipeline task is returned.
Examples
1. Export the pipeline results for a single session to the data products directory
>>> !mkdir ../products >>> hsdn_exportdata (products_dir='../products')