Skip to content

Commit 0b1a67b

Browse files
committedMar 10, 2015
[processing] TauDEM provider overhaul
- add new TauDEM 5.1.2/5.2 tools: Gage watershed, TWI and Select GT Threshold - implement support for multifile TauDEM version - allow to use single- and multifile versions simultaneously Work done for Faunalia (http://faunalia.eu) (cherry-picked from 427adf7)
1 parent e1b08fb commit 0b1a67b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1432
-38
lines changed
 
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FILE(GLOB PY_FILES *.py)
2-
FILE(GLOB DESCR_FILES description/*.txt)
2+
FILE(GLOB SINGLE_DESCR_FILES description/single/*.txt)
3+
FILE(GLOB MULTI_DESCR_FILES description/multi/*.txt)
34

45
PLUGIN_INSTALL(processing algs/taudem ${PY_FILES})
5-
PLUGIN_INSTALL(processing algs/taudem/description ${DESCR_FILES})
6+
PLUGIN_INSTALL(processing algs/taudem/description/single ${SINGLE_DESCR_FILES})
7+
PLUGIN_INSTALL(processing algs/taudem/description/multi ${MULTI_DESCR_FILES})

‎python/plugins/processing/algs/taudem/TauDEMAlgorithm.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,21 @@
2727

2828
import os
2929
from PyQt4.QtGui import QIcon
30+
3031
from processing.core.GeoAlgorithm import GeoAlgorithm
3132
from processing.core.ProcessingLog import ProcessingLog
3233
from processing.core.ProcessingConfig import ProcessingConfig
3334
from processing.core.GeoAlgorithmExecutionException import \
3435
GeoAlgorithmExecutionException
35-
from processing.core.parameters import getParameterFromString
36+
3637
from processing.core.parameters import ParameterRaster
3738
from processing.core.parameters import ParameterVector
3839
from processing.core.parameters import ParameterBoolean
3940
from processing.core.parameters import ParameterString
4041
from processing.core.parameters import ParameterNumber
42+
from processing.core.parameters import getParameterFromString
4143
from processing.core.outputs import getOutputFromString
44+
4245
from TauDEMUtils import TauDEMUtils
4346

4447

0 commit comments

Comments
 (0)
Please sign in to comment.