#
# Script to automate (global) Objective Analysis.

unset noclobber

set datestr = `date`

#--------------------------------------
#--- Remove level-by-level DH mean. ---
#--------------------------------------

matlab<<EIEIO
%
% Reset Matlab path.
%
path('../Matlab',path);
%
% Interpolate data.
%
diary icon2hops.log
icon2hops

diary off
clear
exit
EIEIO

#----------------------------
#--- Announce Completion. ---
#----------------------------

Mail haley<<EIEIO
~s ICON to HOPS Job Done


The first AOSN-II ICON-HOPS job submitted to
`hostname` on $datestr is now complete.
Please examine the gmeta files in the directory

   $cwd

Thanks

Pat
EIEIO
