wolfhece.PyWMS ============== .. py:module:: wolfhece.PyWMS .. autoapi-nested-parse:: 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 --------------- .. py:function:: to_image(mybytes: io.BytesIO) -> PIL.Image .. py:function:: getWalonmap(cat: Literal['IMAGERIE/ORTHO_2021', 'ALEA', 'CADMAP', 'LIDAXES', '$IDW', 'EAU/ZONES_INONDEES'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True) -> io.BytesIO .. py:function:: getVlaanderen(cat: Literal['Adpf'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True) -> io.BytesIO .. py:function:: getIGNFrance(cat: str, epsg: str, xl, yl, xr, yr, w, h, tofile=True) -> io.BytesIO .. py:function:: getLifeWatch(cat: Literal['None'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True, format: Literal['image/png', 'image/png; mode=8bit'] = 'image/png') -> io.BytesIO .. py:function:: getNGI(cat: Literal['orthoimage_coverage', 'orthoimage_coverage_2016', 'orthoimage_coverage_2017', 'orthoimage_coverage_2018', 'orthoimage_coverage_2019', 'orthoimage_coverage_2020', 'orthoimage_coverage_2021', 'orthoimage_coverage_2022'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True, format: Literal['image/png', 'image/GeoTIFF'] = 'image/png') -> io.BytesIO .. py:function:: getCartoweb(cat: Literal['crossborder', 'crossborder_grey', 'overlay', 'topo', 'topo_grey'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True, format: Literal['image/png', 'image/GeoTIFF'] = 'image/png') -> io.BytesIO .. py:function:: getOrthoPostFlood2021(cat: Literal['orthoimage_flood'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True, format: Literal['image/png', 'image/GeoTIFF'] = 'image/png') -> io.BytesIO .. py:function:: get_Alaro_times() .. py:function:: get_Alaro_legend(layer: str) Get the legend of the layer :param layer: name of the layer :return: legend of the layer .. py:function:: getAlaro(cat: Literal['10_m_u__wind_component', '10_m_v__wind_component', '2_m_Max_temp_since_ppp', '2_m_Min_temp_since_ppp', '2_m_dewpoint_temperature', '2_m_temperature', '2m_Relative_humidity', 'Convective_rain', 'Convective_snow', 'Geopotential', 'Inst_flx_Conv_Cld_Cover', 'Inst_flx_High_Cld_Cover', 'Inst_flx_Low_Cld_Cover', 'Inst_flx_Medium_Cld_Cover', 'Inst_flx_Tot_Cld_cover', 'Large_scale_rain', 'Large_scale_snow', 'Mean_sea_level_pressure', 'Relative_humidity', 'Relative_humidity_isobaric', 'SBL_Meridian_gust', 'SBL_Zonal_gust', 'Specific_humidity', 'Surf_Solar_radiation', 'Surf_Thermal_radiation', 'Surface_CAPE', 'Surface_Temperature', 'Surface_orography', 'Temperature', 'Total_precipitation', 'U-velocity', 'V-velocity', 'Vertical_velocity', 'Wet_Bulb_Poten_Temper', 'freezing_level_zeroDegC_isotherm'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True, format: Literal['image/png', 'image/GeoTIFF'] = 'image/png', time=None) -> io.BytesIO .. py:class:: Alaro_Navigator(parent, id, title) Bases: :py:obj:`wx.Frame` .. autoapi-inheritance-diagram:: wolfhece.PyWMS.Alaro_Navigator :parts: 1 :private-bases: Frame to navigate through Alaro data Propose a caolendar to select the time of the data .. py:attribute:: _start_date .. py:attribute:: _end_date .. py:attribute:: _interval .. py:attribute:: _btn_previous .. py:attribute:: _btn_next .. py:attribute:: _time .. py:attribute:: _alpha .. py:attribute:: _btn_legend .. py:method:: OnPrevious(event) Hour minus interval .. py:method:: OnNext(event) Hour plus interval .. py:method:: OnCloseWindow(event) .. py:method:: OnLegend(event) Called when the user press the legend button .. py:method:: OnEnterTime(event) Called when the user press enter in the time text box .. py:property:: start Return the start date selected by the user .. py:property:: end Return the end date selected by the user .. py:property:: time Return the time selected by the user .. py:property:: time_str Return the time selected by the user as string .. py:property:: alpha Return the alpha value selected by the user .. py:data:: img :value: None