Пример #1
0
// Can be called to gather a listing of the arguments required to run this tool.
func (this *BreachDepressions) GetArgDescriptions() [][]string {
	numArgs := 6
	ret := structures.Create2dStringArray(numArgs, 3)

	ret[0][0] = "InputDEM"
	ret[0][1] = "string"
	ret[0][2] = "The input DEM name with file extension"

	ret[1][0] = "OutputFile"
	ret[1][1] = "string"
	ret[1][2] = "The output filename with file extension"

	ret[2][0] = "MaxDepth"
	ret[2][1] = "float64"
	ret[2][2] = "The maximum breach channel depth (-1 to ignore)"

	ret[3][0] = "MaxLength"
	ret[3][1] = "int"
	ret[3][2] = "The maximum length of a breach channel (-1 to ignore)"

	ret[4][0] = "ConstrainedBreaching"
	ret[4][1] = "bool"
	ret[4][2] = "Use constrained breaching?"

	ret[5][0] = "SubsequentFilling"
	ret[5][1] = "bool"
	ret[5][2] = "Perform post-breach filling?"

	return ret
}
Пример #2
0
// Can be called to gather a listing of the arguments required to run this tool.
func (this *BreachStreams) GetArgDescriptions() [][]string {
	numArgs := 3
	ret := structures.Create2dStringArray(numArgs, 3)

	ret[0][0] = "InputStream"
	ret[0][1] = "string"
	ret[0][2] = "The input stream raster file name with file extension"

	ret[1][0] = "InputDEM"
	ret[1][1] = "string"
	ret[1][2] = "The input DEM name with file extension"

	ret[2][0] = "OutputFile"
	ret[2][1] = "string"
	ret[2][2] = "The output filename with file extension"

	return ret
}