#! /bin/csh
#---------------------------------------------------------------------------
# install_corhel: Compile and install corona and heliospheric modules.
#
# Usage: ./install_corhel
#---------------------------------------------------------------------------

# Compile and install corona model
pushd tools/corona > /dev/null

pushd lib > /dev/null
./install_cfitsio
popd > /dev/null

./install_toolslib
./install_corona

popd > /dev/null


# Compile and install heliospheric model
pushd tools/helio > /dev/null

pushd lib > /dev/null
./install_netcdf
popd > /dev/null

./install_helio_cr low
./install_helio_cr medium

popd > /dev/null

echo ""
echo "Compilation and installation complete."

exit 0
