Skip to content

Commit

Permalink
Merge pull request #115 from helenkirk/patch-58
Browse files Browse the repository at this point in the history
Update casa_containers.md
  • Loading branch information
sfabbro authored Jul 22, 2024
2 parents 7f283ef + 07cc9c1 commit 191b694
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/general/ALMA_Desktop/casa_containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,39 @@ This page contains a compilation of useful notes, etc, on various CASA container

## Astroquery / astropy

The [astroquery tool](https://astroquery.readthedocs.io/en/latest/) is presently only installed on the very latest CASA containers (>6.6), but will be installed in earlier versions as time permits. To use astroquery from an appropriate CASA container, type the following to initiate an astroquery-compatible version of python:
The [astroquery tool](https://astroquery.readthedocs.io/en/latest/) is presently only installed on newer CASA containers (6.4.4-6.6.3). To use astroquery from an appropriate CASA container, type the following to initiate an astroquery-compatible version of python:
`/opt/casa/bin/python3`
As per the [astroquery documentation](https://astroquery.readthedocs.io/en/latest/), the tool can then be used on the command line within the python environment. For example, the following sequence of commands

`from astroquery.simbad import Simbad`

`result_table = Simbad.query_object("m1")`


`result_table.pprint()`

yield a one-line table listing some basic information about M1.

## Analysis Utilities
The [analysisUtils package](https://casaguides.nrao.edu/index.php/Analysis_Utilities) package is pre-installed on every CASA container, and is ready to use. You may need to type
`import analysisUtils as au`
to load it.

## Firefox
The Firefox web-browser, needed for CASA commands where you are interacting with the weblogs, should available for CASA versions 6.1.0 to 6.4.3. Error messages will pop up in your terminal window, but minimal testing suggests that it is sufficiently functional.

## UVMultiFit
The [UVMultiFit](https://github.com/onsala-space-observatory/UVMultiFit/blob/master/INSTALL.md) package is presently installed and working for all CASA 5.X versions except 5.8. To load the UVMultiFit package, initiate casa and then type

`from NordicARC import uvmultifit as uvm`

## Known Container Bugs
CASA versions 6.5.0 to 6.5.2 initially launch with some display errors in the logger window. Exiting casa (but not the container) and re-starting casa fixes the issue, i.e.,

`casa`

`exit`

`casa`


0 comments on commit 191b694

Please sign in to comment.