rsaga.parallel.processing(RSAGA)
rsaga.parallel.processing()所属R语言包:RSAGA
Parallel Processing
并行处理
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculate the size of the local catchment area (contributing area), the catchment height, catchment slope and aspect, and flow path length, using parallel processing algorithms including the recommended multiple flow direction algorithm. This set of algorithms processes a digital elevation
计算当地的集水面积(面积),集水高度,集水斜率和方面,和流路长度的大小,使用并行处理算法,包括推荐的多流方向算法。这组的算法处理数字高程
用法----------Usage----------
rsaga.parallel.processing(in.dem, in.sinkroute, in.weight,
out.carea, out.cheight, out.cslope, out.caspect, out.flowpath,
step, method = "mfd", linear.threshold = Inf,
convergence = 1.1, env = rsaga.env(), ...)
参数----------Arguments----------
参数:in.dem
input: digital elevation model (DEM) as SAGA grid file (default file extension: .sgrd)
输入:数字高程模型(DEM)SAGA的网格文件(默认文件扩展名:.sgrd)
参数:in.sinkroute
optional input: SAGA grid with sink routes
可选输入:SAGA电网与水槽路线
参数:in.weight
optional intput: SAGA grid with weights
可选的INTPUT:SAGA网格,权重
参数:out.carea
output: catchment area grid
输出:集水区网格
参数:out.cheight
optional output: catchment height grid
可选的输出:集水区高度电网
参数:out.cslope
optional output: catchment slope grid
可选的输出:集水区边坡格
参数:out.caspect
optional output: catchment aspect grid
可选的输出:集水方面网格
参数:out.flowpath
optional output: flow path length grid
可选的输出流路长度电网
参数:step
integer >=1: step parameter
整数> = 1:步骤参数
参数:method
character or numeric: choice of processing algorithm: Deterministic 8 ("d8" or 0), Rho 8 ("rho8" or 1), Braunschweiger Reliefmodell ("braunschweig" or 2), Deterministic Infinity ("dinf" or 3), Multiple Flow Direction ("mfd" or 4, default).
字符或数字:选择处理算法:确定性("d8"或0),卢("rho8"或1),Braunschweiger Reliefmodell("braunschweig" 2),确定性无限("dinf"或3),多流向("mfd"或4,默认情况下)。
参数:linear.threshold
numeric (number of grid cells): threshold above which linear flow (i.e. the Deterministic 8 algorithm) will be used; linear flow is disabled for linear.threshold=Inf (default)
数值(网格单元的数量):直线流(即确定性8算法)将使用的阈值以上;直线流linear.threshold=Inf(默认值)被禁用
参数:convergence
numeric >=0: a parameter for tuning convergent/ divergent flow; default value of 1.1 gives realistic results and should not be changed
数值> = 0:1.1给出了真实的结果,不应该改变的默认值的参数调谐收敛/发散流;
参数:env
list, setting up a SAGA geoprocessing environment as created by rsaga.env
名单,设置的SAGAGEO处理环境,由rsaga.env创建
参数:...
further arguments to rsaga.geoprocessor
进一步的论据rsaga.geoprocessor
Details
详细信息----------Details----------
Refer to the references for details on the available algorithms.
有关可用的算法的详细信息,请参阅的参考文献。
值----------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 Parallel Processing (version 2.0.7: Catchment Area (Parallel) from SAGA library ta_hydrology.
此功能使用模块Parallel Processing(版本2.0.7:Catchment Area (Parallel)的SAGA库ta_hydrology。
The SAGA GIS 2.0.6+ version of the module adds more (optional) input and output grids that are currently not supported by this wrapper function. Use rsaga.geoprocessor for access to these options, and see rsaga.get.usage("ta_hydrology","Catchment Area (Parallel)")
SAGA GIS 2.0.6 +模块的版本增加了更多的输入和输出(可选)电网目前不支持这个包装函数。使用rsaga.geoprocessor访问这些选项,看看rsaga.get.usage("ta_hydrology","Catchment Area (Parallel)")
(作者)----------Author(s)----------
Alexander Brenning (R interface), Olaf Conrad (SAGA module)
参考文献----------References----------
from digital elevation data. Computer Vision, Graphics and Image Processing, 28: 323-344.
elevation models. Water Resources Research, 27: 709-717.
als Vorraussetzung fuer ein deterministisches Modell der Wasser- und Stoff-Fluesse. Landschaftsgenese und Landschaftsoekologie, H. 10, Parameteraufbereitung fuer deterministische Gebiets-Wassermodelle, Grundlagenarbeiten zu Analyse von Agrar-Oekosystemen, eds.: Bork, H.-R., Rohdenburg, H., p. 1-15.
and upslope areas in grid digital elevation models. Water Ressources Research, 33(2): 309-319.
on a regular grid. Computers and Geosciences, 17: 413-22.
of hillslope flow paths for distributed hydrological modelling using digital terrain models. Hydrological Processes, 5: 59-79.
参见----------See Also----------
rsaga.wetness.index,
rsaga.wetness.index,
实例----------Examples----------
## Not run: [#不运行:]
# SAGA GIS 2.0.6+:[SAGA GIS 2.0.6 +:]
rsaga.get.usage("ta_hydrology","Catchment Area (Parallel)")
# earlier versions of SAGA GIS:[SAGA GIS的早期版本:]
rsaga.get.usage("ta_hydrology","Parallel Processing")
# execute model with typical settings:[执行模型与典型的设置:]
rsaga.parallel.processing(in.dem = "dem", out.carea = "carea", out.cslope = "cslope")
# cslope is in radians - convert to degree:[CSLOPE是弧度 - 转换成度:]
fac = round(180/pi, 4)
formula = paste(fac, "*a", sep = "")
rsaga.grid.calculus("cslope", "cslopedeg", formula)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|