Skip to main content

How can I update the data repository copy of my CASA installation? - Knowledgebase / Historical Articles - ALMA Science

How can I update the data repository copy of my CASA installation?

Authors list

Messages like

   SEVERE setjy Leap second table TAI_UTC seems out-of-date.
   SEVERE setjy Until table is updated (see aips++ manager) times and coordinates
   SEVERE setjy derived from UTC could be wrong by 1s or more.

indicate that the "geodetic" directory of the data repository copy of your CASA installation needs to be updated.

Up to and including CASA 4.3, it has been possible to update the data repository of a CASA installation (including for example the leap seconds table) by typing at the shell prompt

svn update

in the "data" directory.
In later casa versions, this scheme does not work. The recommended procedure in later versions up to CASA 5.x is to either type at the shell prompt

cd <CASA-distro>/data
rsync -avz rsync://casa-rsync.nrao.edu/casa-data .

or run the Perl script "update-data." This can be executed from within CASA by typing

!update-data

In CASA 6.x, use

cd <CASA-distro>
cd `find lib -name __data__`
rsync -avz rsync://casa-rsync.nrao.edu/casa-data .

or

<CASA-distro>/bin/python3 -m casadata --update

or

!update-data

as for the older versions. NOTE that this last option updates your data repository based on the CASA 6 data repo package which is only updated on a weekly basis.

More information can be found in CASA Documentation: https://casadocs.readthedocs.io/en/stable/notebooks/external-data.html#Updating-the-Data-Tables