View source: R/RSAGA-modules.R
rsaga.sgrd.to.esri | R Documentation |
rsaga.sgrd.to.esri
converts grid files from SAGA's (version 2) grid
format (.sgrd) to ESRI's ASCII (.asc) and binary (.flt) format.
rsaga.sgrd.to.esri( in.sgrds, out.grids, out.path, format = "ascii", georef = "corner", prec = 5, ... )
in.sgrds |
character vector of SAGA grid files ( |
out.grids |
character vector of ESRI ASCII/float output file names;
defaults to |
out.path |
folder for |
format |
output file format, either |
georef |
character: |
prec |
number of digits when writing floating point values to ASCII grid
files; either a single number (to be replicated if necessary), or a numeric
vector of length |
... |
optional arguments to be passed to
|
The type of object returned depends on the intern
argument
passed to the rsaga.geoprocessor()
. For intern=FALSE
it
is a numerical error code (0: success), or otherwise (default) a character
vector with the module's console output.
This function uses module 0 from the SAGA library io_grid
.
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
rsaga.esri.wrapper()
for an efficient way of applying
RSAGA to ESRI ASCII/binary grids; rsaga.env()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.