The final stage of the pipeline involves preparing data for storage in CASDA, the CSIRO ASKAP Science Data Archive. This involves four steps:
The following is a list of files included in the upload to CASDA:
There are a number of user parameters that govern aspects of these scripts, and they are detailed here.
Variable | Default | Parset equivalent | Description |
---|---|---|---|
DO_DIAGNOSTICS | true | none | Whether to run the diagnostic script upon completion of imaging and source-finding. |
JOB_TIME_DIAGNOSTICS | JOB_TIME_DEFAULT (24:00:00) | none | Time request for the diagnostic script. |
DO_CONVERT_TO_FITS | true | none | Whether to convert the CASA images to FITS format. |
JOB_TIME_FITS_CONVERT | JOB_TIME_DEFAULT (24:00:00) | none | Time request for the FITS conversion. |
DO_MAKE_THUMBNAILS | true | none | Whether to make the PNG thumbnail images of the 2D FITS images. |
JOB_TIME_THUMBNAILS | JOB_TIME_DEFAULT (24:00:00) | none | Time request for the thumbnail creation. |
DO_STAGE_FOR_CASDA | false | none | Whether to stage data for ingest into CASDA |
JOB_TIME_CASDA_UPLOAD | JOB_TIME_DEFAULT (24:00:00) | none | Time request for the CASDA-upload task. |
General | |||
IMAGE_LIST | "image psf psf.image residual sensitivity" | none | The list of image prefixes that will be used for generating FITS files and determining the list of images to be uploaded to CASDA. In addition, the images image.XXX.restored and image.XXX.alt.restored (in the latter’s case, if present) will also be processed. |
ARCHIVE_SPECTRAL_MS | false | none | Whether the individual full-spectral-resolution measurement sets should be included in the archiving. |
ARCHIVE_BEAM_IMAGES | false | none | Whether the individual beam images should be included in the archiving (true) or if only the mosaicked image should be uploaded. |
ARCHIVE_SELFCAL_LOOP_MOSAICS | false | none | Whether to archive the mosaics of the intermediate self-calibration loop images (see User Parameters - Continuum imaging and User Parameters - Mosaicking). |
ARCHIVE_FIELD_MOSAICS | false | none | Whether to archive the mosaics for each individual field, as well as for each tile and the final mosaicked image. See User Parameters - Mosaicking for a description. |
PROJECT_ID | AS033 | <key>.project (Casda Upload Utility) | The project ID that is written to the FITS header, and used by the casdaupload script to describe each data product. This is usually taken from the SB parset, but can be given in the configuration file in case the SB parset does not have the information (or the SB parset is not available to the schedblock command-line utility, as will be the case for BETA). |
Thumbnails | |||
THUMBNAIL_SUFFIX | png | none | Suffix for thumbnail image files, which in turn determinings the format of these files. |
THUMBNAIL_GREYSCALE_MIN | -10 | none | Minimum greyscale level fro the thumbnail image colourmap. In units of the overall image rms noise. |
THUMBNAIL_GREYSCALE_MAX | 40 | none | Maximum greyscale level fro the thumbnail image colourmap. In units of the overall image rms noise. |
THUMBNAIL_SIZE_INCHES | "16,5" | none | The sizes (in inches) of the thumbnail images. The sizes correspond to the size names given below. Don’t change unless you know what you are doing. |
THUMBNAIL_SIZE_TEXT | "large,small" | none | The labels that go with the thumbnail sizes. These are incorporated into the thumbnail name, so that image.fits gets a thumbnail image_large.png etc. Don’t change unless you know what you are doing. |
CASDA upload | |||
OBS_PROGRAM | Commissioning | obsprogram (Casda Upload Utility) | The name of the observational program to be associated with this data set. |
CASDA_UPLOAD_DIR | /group/casda/prd | outputdir (Casda Upload Utility) | The output directory to put the staged data. It may be that some users will not have write access to this directory - in this case the data is written to a local directory and the user must then contact CASDA or Operations staff. |
CASDA_USE_ABSOLUTE_PATHS | true | useAbsolutePaths (Casda Upload Utility) | If true, refer to filenames in the observation.xml file by their absolute paths. This will mean they remain where they are, and are not copied to the upload directory. The exceptions are the XML file itself, and the tarred-up MS files. |
CASDA_CLOBBER_TARFILES | false | none | If true, the tar files created by the getArchivesList script will be created from scratch, even if they exist. If false, then no new file will be created if they exist already. |
WRITE_CASDA_READY | false | writeREADYfile (Casda Upload Utility) | Whether to write the READY file in the staging directory, indicating that no further changes are to be made and the data is ready to go into CASDA. Setting this to true will also transition the scheduling block from PROCESSING to PENDINGARCHIVE. |
TRANSITION_SB | false | none | If true, the scheduling block status is transitioned from PROCESSING to PENDINGARCHIVE once the casdaupload task is complete. This can only be done by the ‘askapops’ user. |
POLLING_DELAY_SEC | 1800 | none | The time, in seconds, between slurm jobs that poll the CASDA upload directory for the DONE file, indicating ingestion into CASDA is complete. |
MAX_POLL_WAIT_TIME | 172800 | none | The maximum time (in seconds) to poll for the DONE file, before timing out and raising an error. (Default is 2 days.) |