Description Usage Arguments Details Value Warning See Also Examples
A utility function to output all the possible model renderings model list. It builds the output filename as follows: <path><base><model class><ext>
1 2 | writeTiles(models, inRdata, base, path = "./", extension = ".tif",
echo = TRUE, ...)
|
models |
a list of model names, the standard output from |
inRdata |
is the image from which to generate the rendering, which can be read in using |
base |
the base portion of the filename |
path |
(optional) the path of the folder; defaults to './' the current directory |
extension |
(optional) the latter part of the filename; defaults to '.tif' |
echo |
(optional) should the function report its progress; defaults to TRUE |
... |
other parameter(s) to pass on to |
Sometimes it is desirable to render all the models in a block (a list of models), for example for comparison—this function performs
that task. It is a wrapper that loops through all models and calls writeTile
with a generated filename to which to
render.
Invisibly returns the time it took each model output to execute
Runtimes may be long! On an 2015 iMac (Intel I5 quad-core 3.3 GHz, 8GB RAM, and SSD) it takes 12-15 hours to do a full rendering of a single tile approximately 15k x 15k pixels (=225 Mpix). Also, output file sizes can be large(ish)—~2+ GB... and this is only for a single tile. It is recommended that writeTiles be reserved for outputting comparison tiles of a smaller size, or subsampled data.
writeTile
for the engine that does the rendering
1 | # See the examples at writeTile.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.