rsaga.sgrd.to.esri(RSAGA)
rsaga.sgrd.to.esri()所属R语言包:RSAGA
Convert SAGA grids to ESRI ASCII/binary grids
ESRI ASCII /二进制电网的转换SAGA电网
译者:生物统计家园网 机器人LoveR
描述----------Description----------
rsaga.sgrd.to.esri converts grid files from SAGA's (version 2) grid format (.sgrd) to ESRI's ASCII (.asc)
rsaga.sgrd.to.esri网格文件转换SAGA(第2版)电网的格式(sgrd)ESRI的ASCII(ASC)
用法----------Usage----------
rsaga.sgrd.to.esri(in.sgrds, out.grids, out.path, format = "ascii",
georef = "corner", prec = 5, ...)
参数----------Arguments----------
参数:in.sgrds
character vector of SAGA grid files (.sgrd) to be converted; files are expected to be found in folder rsaga.env()$workspace, or, if an optional env argument is provided, in env$workspace
字符矢量的的SAGA网格文件(.sgrd)要转换的文件预计将文件夹中的rsaga.env()$workspace,或者,如果一个可选的env参数,env$workspace
参数:out.grids
character vector of ESRI ASCII/float output file names; defaults to in.sgrds with the file extension being replaced by .asc or .flt, depending on format. Files will be placed in folder out.path, existing files will be overwritten
ESRI ASCII /浮点输出文件名,默认的字符向量in.sgrds .asc或.flt,根据format被替换的文件扩展名。文件将被放置在文件夹out.path,现有的文件将被覆盖
参数:out.path
folder for out.grids
文件夹out.grids
参数:format
output file format, either "ascii" (default; equivalent: format=1) for ASCII grids or "binary" (equivalent: 0) for binary ESRI grids (.flt).
输出文件格式,是"ascii"(默认情况下,相当于format=1)为ASCII电网或"binary"(相当于:0)二进制ESRI网格(.flt中) 。
参数:georef
character: "corner" (equivalent numeric code: 0) or "center" (default; equivalent: 1). Determines whether the georeference will be related to the center or corner of its extreme lower left grid cell.
字符:"corner"(相当于数字代码:0)或"center"(默认情况下,相当于:1)。确定的GEO坐标定位是否会涉及到它的极端左下角的网格单元格的中心或角落。
参数: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 length(in.grids)
数的位数,当ASCII网格文件写入浮点值时;一个号码(如果必要的话)被复制,或一个数值向量长度length(in.grids)
参数:...
optional arguments to be passed to rsaga.geoprocessor, including the env RSAGA geoprocessing environment
可选参数传递给rsaga.geoprocessor,包括env RSAGAGEO处理环境
值----------Value----------
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)
返回的对象的类型取决于intern参数传递的rsaga.geoprocessor。对于intern=FALSE它是一个数字错误代码(0:成功),或以其他方式(默认)
注意----------Note----------
This function uses module 0 from the SAGA library io_grid.
此功能模块0的的SAGA库io_grid中。
(作者)----------Author(s)----------
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
参见----------See Also----------
rsaga.esri.wrapper for an efficient way of applying RSAGA to ESRI ASCII/binary grids;
rsaga.esri.wrapper RSAGA ESRI ASCII /二进制电网的一个有效的方法;
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|