krigeForcing | R Documentation |
Wrapper of the hydroTSM::hydrokrige to apply automatic kriging over time series in parallel*
krigeForcing(stations.sp, data.df, dem, outdir = getwd())
stations.sp: |
SpatialPointsDataFrame object, mandatory attributes : lat, lon, code of the station, min 4 points |
data.df: |
xts matrix, names of the columns should be the same as in stations.sp$code |
dem: |
Raster layer, elevation (masl) |
A RasterBrick object with z time dimension saved to outdir as a netcdf file
*optional run beginCluster() first, for parallel computing krigeForcing()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.