Description Usage Arguments Details Value Author(s) Examples
Extract the biweekly averages for the subject location and timeline
1 | extarctBiweekMegteos(dfInput = dfInput, nVar = "precip33", flag = "precip", from_biwk = 1, to_biwk = 10, subgid = "geoid_latlongt")
|
dfInput |
Input data frame |
nVar |
the output name for meteorological parameters: tmmn: daily minimum temperature; tmmx: daily maximum temperature; vs: wind speed; th: wind direction; sph: specific humidity ; srad: surface downwelling shortwave flux in air |
flag |
the flag name for the file generated by genBiweekMeteos |
from_biwk |
starting biweek id |
to_biwk |
ending biweek id |
subgid |
id |
Extract the biweekly averages for the subject location and timeline
Data frame with the nVar variable added
Lianfa Li
1 2 3 4 5 6 | #Extract the value of meteorological parameters based on the output of genBiweekMeteos,
# using the same flag genBiweekMeteos. Here is the example for biweekly average wind speed.
data(sc_sample)
sc_sample$wndsp=extractBiweekMegteos(dfInput=sc_sample,nVar="vs",flag="sc_sample",from_biwk=1,
to_biwk=574,subgid="gid")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.