Author: University of Liege, HECE
Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized
copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
-
wolfhece.acceptability.acceptability_gui.read_result(fn)[source]
-
wolfhece.acceptability.acceptability_gui.nullvalue_for_hole(WA)[source]
-
wolfhece.acceptability.acceptability_gui.read_export_z_bin(fn_read, fn_write)[source]
-
wolfhece.acceptability.acceptability_gui.empty_folder(folder)[source]
-
class wolfhece.acceptability.acceptability_gui.AcceptabilityGui(parent=None, width=1024, height=500)[source]
Bases: wx.Frame
The main frame for the vulnerability/acceptability computation
-
property mapviewer[source]
-
InitUI()[source]
-
OnSims(e: wx.ListEvent)[source]
Load sim into the mapviewer
-
OnSimsDBLClick(e: wx.ListEvent)[source]
Load sim into the mapviewer
-
OnCheckFiles(e)[source]
Check the files
-
OnHydrodynInput(e)[source]
A test to check if the FILLED water depths files exist.
-If YES : the code can go on
-If NO : either need to be computed, either the code will use the baseline ones
-
OnLastStepBin(e)[source]
Link between acceptability and simulations
-Either the last steps of the steady simulations for the scenarios already exist : only have to point towards them, then the free surfaces are filled
-Or they dont exist and need to be done outside this manager
-
OnMainDir(e)[source]
-
OnStudyArea(e)[source]
Change the study area
-
OnScenario(e)[source]
Change the scenario
-
OnCreation(e)[source]
Create the database
-
OnVulnerability(e)[source]
Run the vulnerability
-
OnAcceptability(e)[source]
Run the acceptability