Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.mrao.cam.ac.uk/~bn204/alma/casata/just-use.html
Дата изменения: Mon Apr 4 13:47:51 2016
Дата индексирования: Sun Apr 10 09:43:08 2016
Кодировка: ISO8859-5

Поисковые слова: южная атлантическая аномалия
Using casata (i.e., how to get it without revision control!) — Bojan Nikolic web pages (r. 329)

Using casata (i.e., how to get it without revision control!)ТЖ

Simplified instructionsТЖ

  1. Create a directory where it will live:

    mkdir ~/mycasata && cd ~/mycasata
    
  2. Get the source-code tarball:

    wget http://www.mrao.cam.ac.uk/~bn204/alma/casata/b/trunk.tar.gz
    tar xvz --strip-components=1 -f trunk.tar.gz
    
  3. Run casapy with the casata prepended to your python-path:

    PYTHONPATH=~/mycasata:$PYTHONPATH  casapy
    
  4. Import the modules you need. For example:

    from casata.tools import data
    

CaveatsТЖ

If you retrieve casata in this way, you and everybody else will lose the information of precisely what revision of casata you did retrieve. This has following implications:

  • You will not be able to why other casata versions differ from the ones you have
  • If you changes to your copy, there will be no automated record of where you started from and what changes you made.

For these reasons getting the source tar-ball as described above is discouraged. It is much better to follow the revision control system download instructions posted at Contributing to casata

Table Of Contents

Previous topic

casata: CASA Tools for Analysis

Next topic

Contributing to casata