Viewer 'Scripts' (testing instructions)


Data files for these tests:

To run these tests, you need to have downloaded the regression/viewertest/ subdirectory of the Casa data repository, https://svn.cv.nrao.edu/svn/casa-data/trunk. In the commands that follow, that repository is assumed to reside at /home/casa/data/ -- correct as necessary.

It's most convenient to copy all these data files to your own test directory (using the following commands), and to run casaviewer from there, so that qualified paths or filesystem navigation are unnecessary. (MSs must have write permission in any case).

Note that some test file names are changed by these copy commands. The names on the right are used in the testing instructions ('scripts').

cd <your viewer testing directory>
cp -r /home/casa/data/regression/viewertest/n4826_bima.im  4826.im
cp -r /home/casa/data/regression/viewertest/n4826_mom0.im  4826_m0.im
cp -r /home/casa/data/ephemerides/Sources                  sources.sc
cp -r /home/casa/data/regression/viewertest/allSky.im      allSky.im
cp -r /home/casa/data/regression/viewertest/m51.fits       m51.fits
cp -r /home/casa/data/regression/viewertest/complex.im     complex.im

cp -r /home/casa/data/regression/viewertest/sm.ms          continuum.ms
cp -r /home/casa/data/regression/viewertest/ctb80-vsm.ms   spectral.ms
cp -r /home/casa/data/regression/viewertest/sd.ms          sglDish.ms

If you are doing repeat testing in the same directory you can reuse most of the above files, but you should at least delete and replace continuum.ms, as the testing changes it in ways that are difficult to reverse. Also, be sure that 4826.im.mask and 4826.im.mask.text have been deleted from your test directory, so that they can be reconstructed from scratch.

rm -rf     4826.im.mask      4826.im.mask.text      continuum.ms
cp -r /home/casa/data/regression/viewertest/sm.ms   continuum.ms



You can now follow the test scripts:

Main 'script' (manual testing instructions) --for images

Main 'script' (manual testing instructions) -- for MSs


(...others to follow(?))



-- DavidKing - Jan 2008
Topic revision: r23 - 2008-09-01, JonasLarsen
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback