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

View source: R/as.field.R

as.field.stationR Documentation

Coerce input to a field object

Description

Transform a station object (output of the function DS) into the esd class field using the function regrid.

Usage

## S3 method for class 'station'
as.field(x, ..., lon = NULL, lat = NULL, nx = 30, ny = 30, verbose = FALSE)

Arguments

x

the input object of class ds

...

other arguments

lon

a numerical vector of longitudes defining the grid of the output field

lat

a numerical vector of latitudes defining the grid of the output field

nx

number of grid points in the longitude direction - only used if lon=NULL

ny

number of grid points in the latitude direction - only used if lat=NULL

verbose

a boolean; if TRUE print information about progress

Value

a field object

See Also

as.field regrid


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