meteo2(3m)

NAME
meteo2 - Plots data from MET files

SYNOPSIS
[data, yd ] = meteo2(yb, in_file, out_file, dr, v_list, plt, info, inst )

DESCRIPTION
Read the given MET file and plots the specified variables for the given date range. Input files have the following columns: Date Time Reference reading Relative wind speed Relative wind direction Ship speed Heading Air pressure Air temperature Relative humidity Sea temperature Wind speed Wind direction Use can also use this function from the Matlab script meteo(1m).

PARAMETERS

yb  Year base.

in_file
    Name of MET input file.

out_file
    Root name for output files. Suffixes are added automatically.

dr  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.

v_list
    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.

plt Plot title.

info
    Additionnal information string to be printed.

inst
    An institute stamp.

RETURNS

data optional
    Array of meteorological data within the given day range.

yd optional
    Vector of decimal days corresponding to the meteorlogical data.

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999