Description Usage Arguments Author(s) Examples
Call spaloess
function on the spatial domain at each time point in parallel.
Every spatial domain uses the same smoothing parameters
1 2 | sparfit(input, output, info, model_control = spacetime.control(),
cluster_control = mapreduce.control())
|
input |
The path of input file on HDFS. It should be by-month division with temporal fitting results. |
output |
The path of output file on HDFS. It is by-month division but with added spatial fitted value for remainder, named Rspa. |
info |
The RData path on HDFS which contains all station metadata |
model_control |
Should be a list object generated from |
cluster_control |
Should be a list object generated from |
Xiaosu Tong
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
FileInput <- "/tmp/bymthse"
FileOutput <- "/tmp/bymthfitse"
ccontrol <- mapreduce.control(libLoc=NULL, reduceTask=0, BLK=128)
mcontrol <- spacetime.control(
vari="remainder", time="date", n=786432, n.p=12,
s.window=13, t.window = 241, degree=2, span=0.015, Edeg=2
)
sparfit(
FileInput, FileOutput, info="/tmp/station_info.RData",
model_control=mcontrol, cluster_control=ccontrol
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.