How to Get the Data Repository from Scratch
Instructions are provided below for obtaining the full CASA data repository. However, in general, we don't recommend fetching the entire CASA data repository unless you have a high-bandwidth network connection. For most folks, all you need is the basic data repository for running CASA and this comes with the standard linux and Mac distributions.
The basic CASA data repository can be obtained in one of three ways:
- From the distribution either RPM or .dmg
- Via subversion at https://svn.cv.nrao.edu/svn/casa-data
- Via rsync from rsync.aoc.nrao.edu
Supplemental data may be obtained either via rsync or svn.
Obtaining via subversion (svn)
We have the data repository under revision control using subversion. You can obtain either the minimal data repository (only the data that is necessary for CASA to function properly) or the complete data repository (all of the data used for demos, regression tests, or unit tests) using subversion. However, keep in mind that downloading the entire CASA data repository takes a lot of disk space
. If you need to make contributions to a specific part of the repository, we suggest checking out only that part of the repository you wish to check in and then add data appropriately.
Use the following subversion command to check out the subset of the data repository that is necessary for CASA to run properly:
svn co https://svn.cv.nrao.edu/svn/casa-data/distro data
To check out portions of the data repository use:
svn co https://svn.cv.nrao.edu/svn/casa-data/trunk/[subdirectory] .
You can find the
by looking at:
Please note to check in data into the repository you will need a Charlottesville svn username and password, plus be authorized.
Obtaining via rsync
Rsync may be used to obtain the data repository. There are several rsync "targets" you may use to fetch the data.
- casadata: Includes from the data repository only the catalog, ephemerides, geodetic, gui, and nrao parts.
- casadata-core: Includes from the data repository only the catalog, ephemerides, geodetic, gui, and only the VLA part of nrao.
- casadata-[alma, atnf, demo, nrao, nraovla, nraogbt, protopipe, regression]: Excludes the core, but includes the supplemental parts of the data repository.
typically this would be done via
rsync -avz rsync.aoc.nrao.edu::casadata .
regression data (which can be quite large) can be obtained individually via a command similar to the following:
rsync -avz rsync.aoc.nrao.edu::casadata-regression/regression/ATST3/NGC4826 regression/ATST3