CASAtips

From CARMA
(Difference between revisions)
Jump to: navigation, search
(Loading CASA in your shell)
(Loading CASA in your shell)
 
Line 17: Line 17:
 
     astroload -v 421 casa
 
     astroload -v 421 casa
  
The latest manual is usually found in '''/astromake/opt/casa/casa_cookbook.pdf'''
 
  
 
=== Advanced notes ===
 
=== Advanced notes ===
  
 
* The directory '''/astromake/opt/casa''' has all the root directories, the symlinks for our aliases, and a file called '''VERSIONS''' which versions we support.
 
* The directory '''/astromake/opt/casa''' has all the root directories, the symlinks for our aliases, and a file called '''VERSIONS''' which versions we support.
 +
 +
* The latest manual is usually found in '''/astromake/opt/casa/casa_cookbook.pdf'''
  
 
*  The '''casapy''' command normally is the way you want to start up casa.  There are a few optional arguments, which you can learn about using the common '''--help''' argument.  They are:
 
*  The '''casapy''' command normally is the way you want to start up casa.  There are a few optional arguments, which you can learn about using the common '''--help''' argument.  They are:

Latest revision as of 14:54, 9 November 2014

[edit] Loading CASA in your shell

On the UMD computers we use the "astroload" command to load CASA (in fact, it can load older versions as well). If astroload is not a recognized command, you will need to add "astromake" to your shell, e.g. put

  source /astromake/astromake_start.csh

to your .cshrc file (and the .sh variant if you use bash)

After this you could ask what versions of CASA are available:

   astroload -i casa

and there might be quite a few. The first one is the default, viz.

   astroload casa

but if you prefer another version, try

   astroload -v 421 casa


[edit] Advanced notes

  • The directory /astromake/opt/casa has all the root directories, the symlinks for our aliases, and a file called VERSIONS which versions we support.
  • The latest manual is usually found in /astromake/opt/casa/casa_cookbook.pdf
  • The casapy command normally is the way you want to start up casa. There are a few optional arguments, which you can learn about using the common --help argument. They are:
 Options are: 
  --rcdir directory
  --logfile logfilename
  --maclogger
  --log2term
  --nologger
  --nologfile
  --nogui
  --colors=[NoColor|Linux|LightBG]
  --noipython
  --pipeline
  -c filename-or-expression
  --help, print this text and exit
Personal tools