.calc_smooth | R Documentation |
Internal function to smooth a datacube
.calc_smooth( files = NULL, bands = NULL, times = NULL, dx = NULL, dy = NULL, dt = NULL, srs = NULL, after = NULL, before = NULL, bbox = NULL, aggregation = "mean", resampling = "bilinear", smoothing_function = NULL, chunking = c(1, 256, 256), threads = 1, outdir = ".", overwrite = F, label = "", n = 100, verbose = T, ... )
files |
A character vector with the filepaths to the raster files for which gap-filling and a smoothing function shall be applied. |
bands |
A character vector indicating the names of the bands in each
of the raster files specified in the |
times |
A character vector indicating the date of each raster file specified
in the |
dx |
The spatial resolution of the outcome raster files in the |
dy |
The spatial resolution of the outcome raster files in the |
dt |
The temporal resolution of the outcome raster files.
(see |
srs |
Target spatial reference system as a string; can be a proj4 definition,
WKT, or in the form "EPSG:XXXX" (see |
after |
A length one character vector in the form " the earliest date (inclusive) included in the temporal extent. |
before |
A length one character vector in the form " the latest date (inclusive) included in the temporal extent. |
bbox |
A numeric vector of lenght four indicating the spatial bounding
box of the query (xmin, ymin, xmax, ymax) in geographic coordinates. Defaults
to 'NULL' which will set the spatial extent to global, i.e. |
aggregation |
aggregation method as string, defining how to deal with pixels
containing data from multiple images, can be "min", "max", "mean", "median", or "first"
(see |
resampling |
resampling method used in gdalwarp when images are read, can be
"near", "bilinear", "bicubic" or others as supported by gdalwarp
(see https://gdal.org/programs/gdalwarp.html and |
smoothing_function |
Defaults to NULL which means that a linear
interpolation coupled with |
chunking |
Vector of length 3 defining the size of data cube chunks in the
order time, y, x. (see |
threads |
Number of threads used to process data cubes
(see |
outdir |
A character vector pointing to an existing directory where the output rasters are written to. |
overwrite |
A logical indicating if existing files in outdir should be overwritten. |
label |
A character vector which is used as a prefix to the output filenames. |
verbose |
A logical indicating the verbosity. |
... |
additional arguments to |
p |
The ratio of pixels for which a custom |
Darius Görgen (MapTailor Geospatial Consulting GbR) info@maptailor.net
Maintainer: MAPME-Initiative contact@mapme-initiative.org
Contact Person: Dr. Johannes Schielein
Copyright: MAPME-Initiative
License: GPL-3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.