getnacd {clim.pact}R Documentation

Retreave station record from the NACD set.

Description

Retrieve station record from the North Atlantic Climate Data (NACD) set: URL http://www.dmi.dk/. Also see getdnmi and getnordklim.

Usage

getnacd(location="prompt",ele.c='101',ascii=FALSE,silent=FALSE,direc="data")

Arguments

location name of climate station location or NACD station number.
ele.c name of element [e.g. avail.elem(), or 't2m', 'rr', 'slp'].
ascii Flag. T -> force ascii read, otherwise look for R-formatted verion (faster).
silent Flag. F -> print error messages.
direc name of directory in which the data are stored.

Value

a <- list of "monthly.station.record" class:
val The monthly values (a 12-column matrix with one column for each year).
station station number.
yy The years of observation (vector).
lat,lon Latitude and longitude of the location.
x.0E65N,y.0E65N Distance in km from 0E, 65N.
location Name of location .
wmo.no WMO number.
start Start of observatins from this location.
yy0 First year in current record.
ele Code of theelement.
obs.name Name of the element.
unit Unit of the element.
country The country in which the location is located.
quality Code/description for data quality.
found Flag: T - the data requested was found.
ref Reference for the data set.

Author(s)

R.E. Benestad

Examples

## Not run: 
helsinki.rr <- getnacd("helsinki",ele=601)
obs.t2m <- getnacd()
## End(Not run)

[Package clim.pact version 2.2-15 Index]