.:SVNInstall:home

From ADPAA
Revision as of 15:03, 5 October 2014 by Davidjdelene (talk | contribs) (Protected ".:SVNInstall:home" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Jump to navigation Jump to search

The latest source code of the Aircraft Data Processing and Analysis (ADPAA) package can be downloaded from SourceForge using a Subversion client. ADPAA is designed to run on the Linux OS and has been tested on Redhat, Fedora, and Ubuntu. On Linux, the svn command can be executed from a shell terminal. The Linux svn command can be use as illustrated below. Note that ADPAA has been moved from using the Concurrent Version System (csv) to using Subversion (svn) as the version control system. You can download the binary cplot and cplot2 programs if you only need only want to display and analyze data, instead of processing raw aircraft data files. You can also use a windows Subversion client to download the source code if you like to view the code; however, the code is also viewable online via a Web browser. The use of Linux shell scripts and file system commands makes running ADPAA under windows impossible.

To download binary (run-time) version of ADPAA

 Create directory if necessary - /usr/local/ADPAA if necessary
 Change ownership if necessary - chown username /usr/local/ADPAA
 Change to ADPAA directory - cd /usr/local/ADPAA
 Get the latest binary ADPAA release - wget https://sourceforge.net/projects/adpaa/files/ADPAA.tar.gz
 Extract data files - tar -xzvf ADPAA.tar.gz

To download ADPAA source code using svn access.

 Create directory /usr/local/ADPAA if necessary
   Change ownership if necessary, i.e. chown username /usr/local/ADPAA
 cd /usr/local/ADPAA
 svn co https://svn.code.sf.net/p/adpaa/code/trunk
 cd trunk
 mv src .svn ..
 cd ..
 rmdir trunk

To update ADPAA source code using svn access.

 cd /usr/local/ADPAA/src
 svn update

Define and export variables system (typically in /etc/profile and/or /etc/csh.cshrc).

 ADPAA_DIR=/usr/local/ADPAA
 IDL_PROG=${ADPAA_DIR}/src
 PYTHONPATH=${ADPAA_DIR}/src/python_lib
 SVN_EDITOR=vim
 Add /usr/local/ADPAA/bin to your PATH environmental variable.
 Export the values ADPAA_DIR IDL_PROG PYTHONPATH SVN_EDITOR.

Build (compile) and install executable files by using the following. Requires an IDL license to compile the IDL source code.

 Create directory /usr/local/ADPAA/bin
 Create directory /usr/local/ADPAA/sav
 Create directory /usr/local/ADPAA/share
 cd /usr/local/ADPAA/src/build/ && make

Note to compile the modula requires an IDL license.

Test the installation by executing a script such as cplot.

 cplot

If you are an ADPAA developer, you can update a file, such as 'INSTALL', in the SVN database. Please provide a comment on what is being changed.

 svn commit INSTALL

If the file is new (i.e. somethingnew), you need to add it to the database before committing it.

 svn add somethingnew