View source: R/cdtMerging_ClimData_Cmd.R
cdtMergingClimDataCMD | R Documentation |
Function to merge stations observation and reanalysis data.
cdtMergingClimDataCMD(
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 = 3.5, use.block =
TRUE, vargrd = FALSE, vgm.model = c("Sph", "Exp", "Gau", "Pen")),
auxvar = list(dem = FALSE, slope = FALSE, aspect = FALSE, lon = FALSE, lat = FALSE),
dem.data = list(file = "", varid = "dem", ilon = 1, ilat = 2),
grid = list(from = "data", pars = NULL),
RnoR = list(use = FALSE, wet = 1, smooth = FALSE),
precision = list(from.data = TRUE, prec = "short"),
blank = list(data = FALSE, shapefile = ""),
output = list(dir = "", format = "tmax_mrg_%s%s%s.nc"),
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
|
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.
|
grid |
named list, providing the grid to use to interpolate the data.
The list includes an element
|
RnoR |
named list, specifying the rain-no-rain mask parameters if
|
precision |
named list, indicating the precision of the merged data if
|
blank |
named list, indicating if the data outside a provided shapefile will be removed.
|
output |
named list, indicating the directory to save the merged data and the format of the merged netCDF file name. |
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.