as.field.zoo: Coerce input to a 'field' object

View source: R/as.field.R

as.field.zooR Documentation

Coerce input to a field object

Description

Transform a zoo object into a field object

Usage

## S3 method for class 'zoo'
as.field(
  x,
  ...,
  lon,
  lat,
  param,
  unit,
  longname = NA,
  quality = NA,
  src = NA,
  url = NA,
  reference = NA,
  info = NA,
  calendar = "gregorian",
  greenwich = TRUE,
  method = NA,
  type = NA,
  aspect = NA,
  verbose = FALSE
)

Arguments

x

the input object of class zoo typically containing data from one or several measurement stations

...

other arguments

lon

longitude(s), a numerical or numerical vector

lat

latitudes(s), a numerical or numerical vector

param

short name of variable

unit

unit of variable, e.g., 't2m'

longname

long name of variable, e.g, 'temperature at 2m'

quality

quality flag

src

source of data

url

url to website where data can be downloaded

reference

reference describing data set

info

additional information

calendar

calendar type

greenwich

a boolean; if TRUE center map on the Greenwich line (0E)

method

method applied to data

type

type of data

aspect

aspect describing data, e.g., 'original', 'anomaly', 'climatology'

verbose

a boolean; if TRUE print information about progress

Value

a field object

See Also

as.field


metno/esd documentation built on April 24, 2024, 9:19 p.m.