krigeForcing: krigeForcing

View source: R/krigeForcing.R

krigeForcingR Documentation

krigeForcing

Description

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

Usage

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

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

dsval/splashTools documentation built on Jan. 26, 2023, 4:40 a.m.