View source: R/parallel_mosaic.R
parallel_mosaic | R Documentation |
Rasterizes the output of applyGapfill
and
the resulting raster objects are glued together in the manner of a mosaic.
parallel_mosaic(
inputDirImages,
inputDirRData,
inputDirMaster,
outputDir,
progressReportDir,
numCores,
scaleFactor = 10000,
dataType = "INT4S"
)
inputDirImages |
character. Full path name of directory containing files to be gap-filled. |
inputDirRData |
character. Full path name of directory containing |
inputDirMaster |
character. Full path name of directory containing splits of a master file. See Details. |
outputDir |
character. Full path name of directory where output will be saved. See Note. |
progressReportDir |
character. Full path name of directory where a file reporting on the See Note. |
numCores |
numeric. How many cores should be employed in parallel computing? |
scaleFactor |
integer. Default is |
dataType |
character. See |
This function may be useful when employing Gapfill
independently of the current package.
The term master refers to a raster with no missing values and whose coordinate reference system is used to rasterize objects such as matrices.
At outputDir
the user will find n
Gtiff
files, where n
is equal to the number of files in inputDirImages
.
Within the workflow of this package, inputDirRData
,
inputDirMaster
, outputDir
and progressReportDir
must be equal to the sub-directories
/output, /master, /filled, and /progressReports, respectively. These
folders can be created by create_dirs
. Many satellite products
come with a scale factor of 1e4
and are distributed in formats equivalent to INT4S
.
After applyGapfill
the objects to rasterize/mosaic must be scaled back,
therefore the default values for arguments scaleFactor
and dataType
.
mosaic
, applyGapfill
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.