Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/askapsoft/sdp/docs/current/utils/casdaupload.html
Дата изменения: Unknown Дата индексирования: Tue Apr 12 13:03:07 2016 Кодировка: ISO8859-5 Поисковые слова: р р р р р р п п р р |
The CASDA upload utility prepares artifacts for submission to the CSIRO ASKAP Science Data Archive (CASDA). Currently the following artifact types are supported:
The utility takes as input one or more of the above file types, plus a configuration parameter set. It performs the following tasks:
The utility can be run with the following command, where “config.in” is a file containing the configuration parameters described in the next section.
casdaupload -c config.in
The configuration file contains a section that declares general information pertaining to the observation, followed by the declaration of specific artifacts to be archived. See the
The required parameters are:
Parameter | Type | Default | Description |
---|---|---|---|
outputdir | string | None | Base directory where artifacts will be deposited. A directory will be created within the “outputdir” named per the “sbid” parameter described below. For example, if the “outputdir” is /foo/bar and the “sbid” is 1234 then the directory /foo/bar/1234 will be created and all artifacts, plus the metadata file, will be copied there. |
telescope | string | None | Name of the telescope that produced the artifacts |
sbid | string | None | Scheduling block id for the observation that these artifacts relate to |
obsprogram | string | None | Observation program which the scheduling block relates to |
writeREADYfile | bool | false | A flag indicating whether to write the READY file to the output directory. For now, the default is not to write it, meaning it is up to the user to set the READY file so that CASDA knows to import the data. |
images.artifactlist | vector<string> | None | (Optional) A list of keys defining image artifact entries that appear in the parameter set |
catalogues.artifactlist | vector<string> | None | (Optional) A list of keys defining catalogue artifact entries that appear in the parameter set |
measurementsets.artifactlist | vector<string> | None | (Optional) A list of keys defining measurement set artifact entries that appear in the parameter set |
evalation.artifactlist | vector<string> | None | (Optional) A list of keys defining evalation artifact entries that appear in the parameter set |
Then for each artifact declared within any of the “artifactlists” the following parameter set entries must be present:
Parameter | Type | Default | Description |
---|---|---|---|
<key>.filename | string | None | Filename (either relative or fully qualified with a path) for the artifact |
<key>.type | string | None | This is only valid for catalogue artifacts. This refers to the type of catalogue being uploaded. It must be one of ‘continuum-island’, ‘continuum-component’ or ‘polarisation-component’. |
<key>.project | string | None | The project identifier to which this artifact is allocated for validation. For the evaluation artifacts this parameter may be present, however it is ignored since evaluation reports are not subject to validation. |
As an example of declaring artifacts, the below defines two image artifacts, a deconvolved (Cleaned) image and a PSF image:
# Declares two images
images.artifactlist = [img, psfimg]
img.filename = image.clean.i.restored.fits
img.project = AS007
psfimg.filename = psf.image.i.clean.fits
psfimg.project = AS007
The following example declares four artifacts to be uploaded to CASDA, one for each of the artifact types: image, source catalogue, measurement set and evaluation report.
# General
outputdir = /scratch2/casda
telescope = ASKAP
sbid = 1234
obsprogram = test
# Images
images.artifactlist = [image1]
image1.filename = image.i.dirty.restored.fits
image1.project = AS007
# Source catalogues
catalogues.artifactlist = [catalogue1]
catalogue1.filename = selavy-results.components.xml
catalogue1.type = continuum-component
catalogue1.project = AS007
# Measurement sets
measurementsets.artifactlist = [ms1]
ms1.filename = 2014-12-20_021255.ms
ms1.project = AS007
# Evaluation reports
evaluation.artifactlist = [report1]
report1.filename = evaluation-report.pdf