Skip to content

ARM-DOE/ADI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADI

ARM Data Integrator, ADI, is an open source framework that automates the process of retrieving and preparing data for analysis, simplifies the design and creation of output data products produced by the analysis, and provides a modular, flexible software development architecture for implementing algorithms. These capabilities are supported through the use of a workflow for data integration, a source code generator that produces C, IDL and Python templates, and a graphical interface through which users can efficient define their data input, preprocessing, and output characteristics.

ADI is used by the 'Atmospheric Radiation Measurement (ARM) Climate Research Facility http://www.arm.gov' to process raw data collected from ARM instruments, and to implement scientific algorithms that process one or more of ARM's existing data products to produce new, higher value, data products.

This package of the code is for users local work station (i.e. not ARM processing systems). As such it is updated for major changes in functionality and not for minor incremental improvements.


Building from source code

Prerequisites

For MacOS users Homebrew can be used to install the following dependencies. Linux users will need to install both the runtime and devel packages. The highest version available for all packages should work.

  • build system

    • autoconf
    • automake
    • gcc
    • libtool
    • m4
    • pkgconfig
  • first order library dependencies

    • netcdf
    • openssl
    • postgresql
    • udunits (macOS - Homebrew)
    • udunits2 (Linux)
    • openblas (macOS - Homebrew)
    • atlas (Linux)
  • optional (required for python bindings)

    • python
    • cython (on macOS use 'pip3 install cython' instead of Homebrew)
    • numpy (on macOS use 'pip3 install numpy' instead of Homebrew)
  • optional

    • sqlite

Install

The following commands will download and install all ADI packages to /usr/local. You can change the value of the --prefix option to install to a different location. For more details run ./install_adi.sh -h.

git clone --depth 1 https://github.com/ARM-DOE/ADI.git
cd ADI
./install_adi.sh --prefix=/usr/local

You will then need to add one of the following lines to your shell initialization file. Change /usr/local to the installation directory if you specified a different location. If your login shell is bash add this to your ~/.bash_profile and/or ~/.bashrc file.

source /usr/local/etc/.adi.bashrc

If your login shell is csh add this line to your .cshrc file:

source /usr/local/etc/.adi.cshrc