%  1.  NAME
%
%  meteo - Plots data from MET files
%
%  2.  USAGE
%
%  meteo
%
%  3.  DESCRIPTION
%
%  This is an interface to function meteo2(3m).
%
%  4.  PARAMETERS
%
%  The following parameters have to be edited:
%
%     year_base
%        Year base.
%
%     data_file
%        Name of MET input file.
%
%     out_file
%        Root name for output files. Suffixes are added automatically.
%
%     data_range
%        String with a date range in the usuall CODAS . See time_rng(5)
%        for more information.  Only MET data within this range will be
%        plotted.
%
%     vars_to_plot
%        Cell array of variable names. These must be the same as the
%        labels defined in the MET file. Possible values are
%        date,time,ref. reading,rel. wind speed,rel. wind dir. ,ship
%        speed ,heading,air pressure,air temp.,rel. humidity ,sea
%        temp.,wind speed,and wind dir..  A subplot for each of the
%        specified variables will be generated.
%
%     plot_title
%        Plot title.
%
%     info
%        Additionnal information string to be printed.
%
%     institute
%        An institute stamp.
%
%  5.  AUTHORS
%
%  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999
%

% Edit following lines:
%------------------------------------------------------------------

year_base    = 1996;
data_file    = 'hmw0996.prn';
out_file     = 'met';
date_range   = '1996/09/21 to 1996/09/23';
vars_to_plot = { 'air pressure', 'air temp.', 'rel. humidity', ...
    'wind speed', 'wind dir.' };

plot_title = 'AGMASCO-SKAGERRAK Meteo';
info       = '';
institute  = 'P. Jaccard, Geophysical Institute, University of Bergen';

%------------------------------------------------------------------
% No more editing !!!


[ data, yd ] = meteo2(year_base, data_file, out_file, date_range, ...
    vars_to_plot, plot_title, info, institute);

