genBiweekMeteos: Generate the meteorological parameters on the server side for...

Description Usage Arguments Details Author(s) Examples

View source: R/genBiweekMeteos.R

Description

This function is to use the biweekly averages of meteorological meters on the server side.

Usage

1
genBiweekMeteos(sublocs, tarVar = "pr", dname = "precipitation_amount", subgid = "geoid_latlongt", flag = "precip", from_biwk = 1, to_biwk = 574, start_date = "1992-01-01")

Arguments

sublocs

spatial points data frame of the subject locations for geocoding the location

tarVar

the target meteorological variable name: tmmn: daily minimum temperature; tmmx: daily maximum temperature; vs: wind speed; th: wind direction; sph: specific humidity ; srad: surface downwelling shortwave flux in air

dname

the target meteorological variable channel name in the image file: tmmn: air_temperature; tmmx: air_temperature; vs: wind_speed; th: wind_from_direction; sph: specific_humidity ; srad: surface_downwelling_shortwave_flux_in_air

subgid

Starting index of the models to be used to make the prediction

flag

the project flag for later join

from_biwk

start biweek id

to_biwk

end biweek id

start_date

start date

Details

Generate the meteorological parameters

Author(s)

Lianfa Li

Examples

1
2
3
4
5
6
7
#Generate the meteorological parameters for the target locations for the biweekly period,
# from 01/01/1992 to 12/31/2013.  It may take some time to finish the computation. the flag is
# the project flag and will be used to extract the time-specific covariates for the function, extractBiweekMegteos

data(sc_sample_loc)
genBiweekMeteos(sc_sample_loc,tarVar="tmmn",dname="air_temperature",subgid="gid",flag="sc_sample",
                from_biwk=1,to_biwk=574, start_date="1992-01-01")

lspatial/sptemUS documentation built on May 29, 2019, 3:42 a.m.