vtsuperdarn / VTRST3.5

Radar Software Toolkit enhanced
0 stars 6 forks source link

THIS REPOSITORY HAS BEEN DEPRECATED. FUTURE DEVELOPMENT WILL BE ON THE SUPERDARN/RST REPO FOUND IN THE LINK BELOW.

https://github.com/SuperDARN/rst

This repository will be kept around for an undetermined amount of time to act as a backup for legacy code.

VTRST3.5

In addition to this code, you will need the following packages:

IDL 8.X

HDF5

zlib

netCDF (dev)

CDF 3.X

netpbm

libpng (dev)

ncurses (dev)

It is HIGHLY recommended to setup git on your local computer as updates are easily downloaded to your computer.

Install notes:

  1. Upon cloning the repository (with git clone or downloading zip file), load the RST environment variables. For example, this is accomplished in linux by modifying the ~/.bashrc file by adding:

    # bash profile for rst
    export RSTPATH="INSTALL LOCATION"/VTRST3.5
    . $RSTPATH/.profile.bash

    where the INSTALL LOCATION is the path with the VTRST3.5 repository has been copied to on your computer.

    Also, you'll need to edit the location that your netCDF package was installed at by editing the entry in the ~/VTRST3.5/.profile/base.bash file:

    export NETCDF_PATH="/usr/include"

    The given example is where Ubuntu 12.04 placed the netcdf.h file using the apt-get package manager.

    In order to load the environment variables you just setup, you'll need to close your current terminal and open a new terminal.

  2. With CDF library, you will need to copy a few choice files into certain places. Namely:

    Copy the cdf.h file into ~/VTRST3.5/codebase/analysis/src.lib/cdf/rcdf.1.5/include/
    Copy the libcdf.a and libcdf.so into ~/VTRST3.5/lib/
  3. Run 'make.build' from the command line. This runs a helper script that sets up other compiling code. The source code for make.build can be found in ~/build/script/

  4. Run 'make.code superdarn rst' to compile all of the code. This runs a script to find all of the source codes and compile them into binaries. A log of this compilation is stored in ${LOGPATH}.

  5. If compilation fails at aacgmdlm.1.10 you will need to do the following:

    Copy the idl_export.h file into ~/VTRST3.5/include/superdarn

Again...this may not be everything, but we'll start here now.

To do's: