wolfhece.PyGuiHydrology

Author: HECE - University of Liege, Pierre Archambeau 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

class wolfhece.PyGuiHydrology.selectpoint(parent=None, title='Default Title', w=500, h=200, SPWstations: wolfhece.RatingCurve.SPWMIGaugingStations = None, DCENNstations: wolfhece.RatingCurve.SPWDCENNGaugingStations = None)[source]

Bases: wx.Dialog

Inheritance diagram of wolfhece.PyGuiHydrology.selectpoint
SPWMI = None[source]
SPWDCENN = None[source]
sizer[source]
sizerv[source]
buttonOK[source]
rbox[source]
tcoordx[source]
coordx[source]
tcoordy[source]
coordy[source]
coords[source]
tcodestation[source]
codestation[source]
codes[source]
triverstation[source]
riverstation[source]
tnamestation[source]
namestation[source]
riversname[source]
Apply(event)[source]
onComboRiver(evt)[source]
onRadioBox(evt)[source]

Switch between the different options in the radio box

class wolfhece.PyGuiHydrology.GuiHydrology(parent=None, title='WOLF Hydrological model - viewer', w=500, h=500, treewidth=200, wolfparent=None, wxlogging=None)[source]

Bases: wolfhece.PyDraw.WolfMapViewer

Inheritance diagram of wolfhece.PyGuiHydrology.GuiHydrology

Mapviewer of the hydrology model – see HydrologyModel in PyGui.py

wolfparent: wolfhece.PyGui.HydrologyModel[source]
_hydrol_modelmenu[source]
_wizard[source]
_dtm_menu[source]
_prepro_menu[source]
_outlet_menu[source]
_ip_menu[source]
_forced_exchanges_menu[source]
_params_menu[source]
_toolsmenu[source]
_tmp_vector_exchanges[source]
property watershed[source]
property header[source]

Return the header of the watershed

_choose_outlet()[source]

Choose the outlet of the watershed

OnMenubar(event)[source]

Event handler for the menubar

On_Mouse_Right_Down(e: wx.MouseEvent)[source]

Event when the right button of the mouse is pressed.

We use this event to manage “action” set by others objects.

On_Mouse_Motion(e: wx.MouseEvent)[source]

Handle mouse motion events

Paint()[source]

Paint the map viewer