:py:mod:`wolfhece.hydrometry.kiwis_gui` ======================================= .. py:module:: wolfhece.hydrometry.kiwis_gui .. autoapi-nested-parse:: Author: HECE - University of Liege, Pierre Archambeau, Loïc 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 --------------- .. py:data:: _ .. py:class:: hydrometry_gui(credential='', *args, **kw) Bases: :py:obj:`wx.Frame` .. autoapi-inheritance-diagram:: wolfhece.hydrometry.kiwis_gui.hydrometry_gui :parts: 1 :private-bases: wxFrame for data selection General configuration : - sites - stations - timeseries par station --> plot .. py:method:: setdate(event: wx.CommandEvent) .. py:method:: getsites(event: wx.CommandEvent) Get global sites .. py:method:: getstations(event: wx.CommandEvent) Get stations for a specific selected site or multisites Store a list of these stations in self.stations_list .. py:method:: _fill_list2() .. py:method:: _getname_code_fromindex(index) .. py:method:: gettimeseries(event: wx.CommandEvent) Get the timeseries for a selected station .. py:method:: _get_data() Download data .. py:method:: _get_data_qc() Download data .. py:method:: getdataandplot(event: wx.CommandEvent) Download data and plot .. py:method:: getdatacombineandplot(event: wx.CommandEvent) Download data, combine and plot .. py:method:: getdata_qc_andplot(event: wx.CommandEvent) Download data quality code and plot .. py:method:: exportcsv(event: wx.CommandEvent) Download data and export to csv .. py:method:: exportcsv_qc(event: wx.CommandEvent) Download data and quality code and export to csv .. py:method:: nearest(event: wx.CommandEvent) .. py:method:: inside(event: wx.CommandEvent) .. py:method:: recup_date() Get date from calendars and store in self.datefrom and self.dateto