meteo2

Last updated Sun Sep 19 12:01:08 1999


Plots data from MET files

1. SYNOPSIS

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

2. DESCRIPTION

Read the given MET file and plots the specified variables for the given date range. Input files have the following columns:

  1. Date
  2. Time
  3. Reference reading
  4. Relative wind speed
  5. Relative wind direction
  6. Ship speed
  7. Heading
  8. Air pressure
  9. Air temperature
  10. Relative humidity
  11. Sea temperature
  12. Wind speed
  13. Wind direction

Use can also use this function from the Matlab script meteo(1m).

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

4. RETURNS



data optional

Array of meteorological data within the given day range.



yd optional

Vector of decimal days corresponding to the meteorlogical data.

5. AUTHORS

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999