Description Usage Arguments Details
Functions to prepare input for kriging
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | prepare.day(day, obs.daily, ctm.daily,
pollutant,
emis.winter, emis.summer,
elev = NULL, verbose = FALSE)
prepare.ctm(ctm.daily, day,
x.pnt, y.pnt, x.grd, y.grd,
conc.min = 10^-6)
prepare.emis(emis.winter, emis.summer, day,
x.pnt, y.pnt, x.grd = NULL, y.grd = NULL)
prepare.elev(elev, x.pnt, y.pnt,
z.pnt = rep(NA,length(x.pnt)),
x.grd = NULL, y.grd = NULL)
prepare.obs(obs.daily, day, pollutant,
conc.min = 10^-6)
|
day |
required day, in the format "YYYY-MM-DD" |
obs.daily |
data frame with daily observations, as returned by |
ctm.daily |
CTM output, aggregated on a daily basis, as returned by |
emis.winter |
winter emissions, in a list of 2 elements:
|
emis.summer |
summer emissions, in a list of 2 elements:
|
elev |
elevation, in a list of 2 elements:
|
pollutant |
name of the column with pollutant concentations |
verbose |
logical; if |
x.pnt |
numeric vector of x coordinates of the stations |
y.pnt |
numeric vector of y coordinates of the stations |
z.pnt |
numeric vector of elevation of the stations |
x.grd |
numeric vector of x coordinates of the grid cells |
y.grd |
numeric vector of y coordinates of the grid cells |
conc.min |
minimum concentration; if a concentration is less than this value, then it is set equal to it |
To prepare the required input for the function kriging, you need only the function prepare.day, which includes all the functions prepare.ctm, prepare.emis, prepare.elev and prepare.obs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.