as.met | R Documentation |
Coerces a dataset into a met dataset. This fills in only a few of the typical
data fields, so the returned object is much
sparser than the output from read.met()
. Also, almost no
metadata fields are filled in, so the resultant object does not store
station location, units of the data, data-quality flags, etc. Anyone working
with data from Environment Canada (reference 2) is advised to use read.met()
instead of the present function.
as.met(time, temperature, pressure, u, v, filename = "(constructed from data)")
time |
Either a vector of observation times (or character strings that can be
coerced into times) or the output from |
temperature |
vector of temperatures. |
pressure |
vector of pressures. |
u |
vector of eastward wind speed in m/s. |
v |
vector of northward wind speed in m/s. |
filename |
optional string indicating data source |
A met object.
Dan Kelley
The canadaHCD
package is in development by Gavin Simpson; see
https://github.com/gavinsimpson/canadaHCD
for instructions on how
to download and install from GitHub.
Environment Canada website for Historical Climate Data
https://climate.weather.gc.ca/index_e.html
Other things related to met data:
[[,met-method
,
[[<-,met-method
,
download.met()
,
met
,
met-class
,
plot,met-method
,
read.met()
,
subset,met-method
,
summary,met-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.