.. ...................................... .. UHDAS/CODAS restructured text document .. ...................................... Download and install Mercurial --------------------------------- Mercurial is a distributed version control system. We use it to store and monitor changes in CODAS software. Download and install `Mercurial `_ (recommend "download and build from source" for unix, binary install for Windows) See bottom of page: `Mercurial: A Short Introduction`_ Getting CODAS programs ------------------------- Make a directory in which all the subdirectories will live, for example "adcp_programs". All codas mercurial repositories (zip files, if no repository exists) must land in this directory, and it is also the directory in which you will run "hg clone" to make repositories in section (2) , below. (1) get the non-repository zip archives ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ These zip archives located `here <../../zipped>`_. **DOCUMENTATION** +--------------------+-------------------+----------------------------------------------+ | zip archive name | subdirectory | contents | +====================+===================+==============================================+ |adcp_doc.zip |adcp_doc | same contents as on WWW | +--------------------+-------------------+----------------------------------------------+ **PRACTICE DATASETS ("DEMOS")** +--------------------+-------------------------+-----------------------------------------+ | zip archive name | subdirectory | contents: adcp processing demos | +====================+=========================+=========================================+ |qdemo_pingdata.zip |q_demos/oldpingdemo | original pingdata demo | | | | | | |q_demos/newpingdemo | quick_adcp.py pingdata demo | +--------------------+-------------------------+-----------------------------------------+ |qdemo_vmdas.zip |q_demos/vmdas_oslta | VmDAS (LTA) | | | | | | |q_demos/vmdas_osbbenx | VmDAS (ENX) | +--------------------+-------------------------+-----------------------------------------+ |qdemo_uhdas.zip |q_demos/uhdas | UHDAS | +--------------------+-------------------------+-----------------------------------------+ (2) get the Mercurial repository CODAS software ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This method is fast and easy, especially for subsequent updates. Change directories to your **adcp_programs** directory and clone these **four** (4) repositores as follows: :: hg clone http://currents.soest.hawaii.edu/hg/adcp_templates adcp_templates hg clone http://currents.soest.hawaii.edu/hg/codas3 codas3 hg clone http://currents.soest.hawaii.edu/hg/matlab matlab hg clone http://currents.soest.hawaii.edu/hg/pycurrents pycurrents A different method for installing CODAS programs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **deprecated** This method uses the CODAS respositories at University of Hawaii to create zip (or bz2 or tar) archives for installation on one or more computers. This would be a reasonable method to be able to re-install the same version on more than one computer, or computers not connected to the net. The repository `web interface `_ has buttons that you can click to generate and download zip files based on the latest code in the repository. The advantage is that you do not need to install Mercurial and you get only the code you need; the disadvantage is that you don't get the history, and any subsequent update requires wholesale replacement. You will need to follow the process below for the following repositories: * adcp_templates * codas3 * matlab * pycurrents - Go to the UH Currents group website that contains the `UH ADCP Mercurial repositories `_ for more information, and use the quick help, e.g.: :: hg help hg help pull hg help clone