krigeForcing: krigeForcing

Description Usage Arguments Value Examples

View source: R/krigeForcing.R

Description

Wrapper of the hydroTSM::hydrokrige to apply automatic kriging over time series in parallel*

Usage

1
krigeForcing(stations.sp, data.df, dem, outdir = getwd())

Arguments

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)

Value

A RasterBrick object with z time dimension saved to outdir as a netcdf file

Examples

1
2
*optional run beginCluster() first, for parallel computing
krigeForcing()

dsval/splashTools documentation built on Jan. 9, 2021, 2:46 a.m.