View source: R/cdtCrossValidation_ClimData_Cmd.R
cdtCrossValidationClimDataCMD | R Documentation |
Function to perform a Leave-One-Out Cross-Validation for climate data merging.
cdtCrossValidationClimDataCMD(
variable = "temp",
time.step = "dekadal",
minhour = 1,
dates = list(from = "range", pars = list(start = "2018011", end = "2018123")),
station.data = list(file = "", sep = ",", na.strings = "-99"),
netcdf.data = list(dir = "", format = "tmax_adj_%s%s%s.nc", varid = "temp", ilon =
1, ilat = 2),
merge.method = list(method = "SBA", nrun = 3, pass = c(1, 0.75, 0.5)),
interp.method = list(method = "idw", nmin = 8, nmax = 16, maxdist = 2.5, use.block =
TRUE, vargrd = FALSE, vgm.model = c("Sph", "Exp", "Gau", "Pen")),
crossv.station = list(from = "all", pars = NULL),
auxvar = list(dem = FALSE, slope = FALSE, aspect = FALSE, lon = FALSE, lat = FALSE),
dem.data = list(file = "", varid = "dem", ilon = 1, ilat = 2),
RnoR = list(use = FALSE, wet = 1, smooth = FALSE),
output.dir = "",
GUI = FALSE
)
variable |
character, name of the climate variable to merge. Available options:
|
time.step |
character, the time step of the data. Available options: |
minhour |
integer, the step for
|
dates |
named list, providing the dates to merge.
The list includes an element
|
station.data |
named list, providing the station data to be used in CDT format.
|
netcdf.data |
named list, providing the input netCDF dataset to be used.
|
merge.method |
named list, indicating the merging method.
|
interp.method |
named list, indicating the interpolation method and parameters to be used for
|
crossv.station |
named list, selecting the stations to use for the cross-validation.
The list includes an element
|
auxvar |
named list, specifying the auxiliary variables to use when the merging method is
|
dem.data |
named list, providing the Digital Elevation Model (in netCDF format) when using regression kriging method with elevation related data as auxiliary variable.
|
RnoR |
named list, specifying the rain-no-rain mask parameters in case of
|
output.dir |
character, full path to the directory to save the output. |
GUI |
logical, indicating whether or not the output message should be displayed on CDT GUI. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.