dailyprecipNCEP: Obtain daily precipitation from NCEP

View source: R/datatools.R

dailyprecipNCEPR Documentation

Obtain daily precipitation from NCEP

Description

Obtain daily precipitation from NCEP

Usage

dailyprecipNCEP(lat, long, tme, reanalysis2 = FALSE)

Arguments

lat

the latitude of the location for which data are required

long

the longitude of the location for which data are required

tme

a POSIXlt object covering the duration for which data are required. Intervals should be daily. Hourly data are returned irrespective of the time interval of tme.

reanalysis2

Logical. Should data be obtained from the Reanalysis II dataset (default) or from Reanalysis I (data prior to 1979).

Value

a vector of daily precipitations (mm / day) for the period covered by tme

Examples

tme <- as.POSIXlt(c(1:15) * 24 * 3600, origin = "2015-01-15", tz = 'UTC')
dailyprecipNCEP(50, -5, tme)

ilyamaclean/microclima documentation built on Oct. 31, 2023, 11:41 p.m.