This site requires javascript to be enabled to fuction correctly

What global variables are available in
Posted by Erica Keller, Last modified by Dirk Petry on 19 February 2020 01:48 PM

The global variables SPACESAVING, USEMS, and DOSPLIT can be set prior to executing The variables can be used independently or in conjunction.

USEMS can be set to use pre-imported measurements sets(MS) rather than import them from the ASDMs in the raw directory. The imported MSs should be in the calibrated directory prior to executing the script. It can be set to either 0 or 1 with the following meaning.

USEMS = 0 same as not set, ASDMs will be imported from the raw directory

               = 1 MSs have been pre-imported in the calibrated directory

SPACESAVING limits the disk space usage during and after execution of the script. It can be set to an integer from 0 to 3 with the following meaning.

SPACESAVING = 0 same as not set (all intermediate MSs are kept)
                            = 1 do not keep intermediate MSs named *.ms.split
                            = 2 do not keep intermediate MSs named *.ms and *.ms.split
                            = 3 do not keep intermediate MSs named *.ms, *.ms.split, and * (if possible)

With SPACESAVING=0, the required additional diskspace is up to 14 times as large as the delivered data (products and rawdata) while with SPACESAVING=3 (maximum savings), it is up to 6 times as large. The script will estimate the required disk space and will not execute if there is not sufficient free space available.

Finally, setting DOSPLIT=True before executing, will force the creation of the * MSs. DOSPLIT=False is the same as not setting DOSPLIT at all. In that case, the script will only create the * MSs in the case there was manual imaging (i.e. not pure pipeline imaging) performed during QA2.

For example, after initiating CASA in the script directory, the following commands would use pre-imported MSs and the highest degree of spacesaving and ensure that the calibrated data is split out into new * MSs at the end.





(0 vote(s))
Not helpful

Comments (0)