read.met(file, type=NULL, skip, tz=getOption("oceTz"),
debug=getOption("oceDebug"), processingLog, ...)NULL, then the first line is studied, in order to determine the
file type. If type="msc", then a file as formatted by the Meteorological
Service of Canada is assumed.read.met scans the file until it
finds a line starting with "Date/Time", and considers all lines
above that to be hclass "met", of which the
data slot contains vectors time, temperature,
pressure, u, and v.met-class explains the structure
of meteorological objects, and also outlines the other functions dealing
with them.library(oce)
met <- read.met("ile-rouge-eng-hourly-06012008-06302008.csv")
plot(met, which=3:4)Run the code above in your browser using DataLab