Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffctaylor committed Dec 8, 2015
1 parent d8505c8 commit da86bdf
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cartaview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,23 @@ import carta.cartavis

If this does not generate any error messages, then the CARTA scripted client has been installed properly on your system and can be imported from anywhere.

### Caveat

There is one incompatibility between CARTA and CASA that I have not been able to resolve. The `image.py` class contains the line:

```python
from astropy.coordinates import SkyCoord
```

This leads to the following error when I try to run it:

```bash
RuntimeError: module compiled against API version 9 but this version of numpy is 7
<type 'exceptions.ImportError'>: numpy.core.multiarray failed to import
```

My understanding is that this is due to the [version of Numpy that ships with CASA](https://casaguides.nrao.edu/index.php?title=OtherPackages#Packages_Already_Distributed_With_CASA). The bandage solution that I have come up with for now is to simply comment out the line that imports `SkyCoord`, which essentially disables the CARTA `centerOnCoordinate()` command. Do this before installing the scripted client.

## The scriptedConfig.json file

The `scriptedConfig.json` file contains entries which will point the `cartaview()` to the CARTA installation. These entries are:
Expand Down

0 comments on commit da86bdf

Please sign in to comment.