VIKTOR's D-Stability integration requires a specific D-Stability worker which can be downloaded here.
Analyzing a D-Stability model in VIKTOR can be done using the
DStabilityAnalysis class (worker required).
No binding is provided by VIKTOR for this module, which means that the input file has to be generated manually or
by using the GEOLIB:
from viktor.external.dstability import DStabilityAnalysis# Generate the input STIX file.input_file = ...# Run the analysis and obtain the output file.analysis = DStabilityAnalysis(input_file)analysis.execute(timeout=10)output_file = analysis.get_output_file()
DStabilityAnalysis.execute needs to be mocked
within the context of (automated) testing.