interpolateDailyWeather: Interpolate daily weather data

Description Usage Arguments Value Author(s)

View source: R/interpolateDailyWeather.R

Description

Interpolate daily weather data and predict weather for given locations

Usage

1
interpolateDailyWeather(tableGSOD, locations, startDate, endDate, vars = c("TEMP", "MAX", "MIN", "PRCP"), covars = "ALT", stations, sqrtTr = ("PRCP"), silent=TRUE)

Arguments

tableGSOD

table with daily weather data for stations

locations

locations for which values should be interpolated, data frame or matrix with four columns: unique ID ("ID"), longitude ("LON"), latitude ("LAT") and altitude("ALT"), in that order

startDate

first date of the period to cover

endDate

last data of the period to cover

vars

variables that should be interpolated

covars

co-variables that should be included in the interpolation (default is "ALT", altitude)

stations

table with stations data

sqrtTr

variables to undergo square-root transformation (default: "PRCP", precipitation)

silent

will show interpolated surfaces if FALSE (default: TRUE)

Value

data frame with interpolated values for the selected variables

Author(s)

Jacob van Etten


gsod documentation built on May 2, 2019, 4:59 p.m.