wolfhece.PyWMS

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

wolfhece.PyWMS.to_image(mybytes: io.BytesIO) PIL.Image[source]
wolfhece.PyWMS.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[source]
wolfhece.PyWMS.getVlaanderen(cat: Literal['Adpf'], xl: float, yl: float, xr: float, yr: float, w: int = None, h: int = None, tofile=True) io.BytesIO[source]
wolfhece.PyWMS.getIGNFrance(cat: str, epsg: str, xl, yl, xr, yr, w, h, tofile=True) io.BytesIO[source]
wolfhece.PyWMS.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[source]
wolfhece.PyWMS.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[source]
wolfhece.PyWMS.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[source]
wolfhece.PyWMS.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[source]
wolfhece.PyWMS.get_Alaro_times()[source]
wolfhece.PyWMS.get_Alaro_legend(layer: str)[source]

Get the legend of the layer

Parameters:

layer – name of the layer

Returns:

legend of the layer

wolfhece.PyWMS.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[source]
class wolfhece.PyWMS.Alaro_Navigator(parent, id, title)[source]

Bases: wx.Frame

Inheritance diagram of wolfhece.PyWMS.Alaro_Navigator

Frame to navigate through Alaro data

Propose a caolendar to select the time of the data

_start_date[source]
_end_date[source]
_interval[source]
_btn_previous[source]
_btn_next[source]
_time[source]
_alpha[source]
_btn_legend[source]
OnPrevious(event)[source]

Hour minus interval

OnNext(event)[source]

Hour plus interval

OnCloseWindow(event)[source]
OnLegend(event)[source]

Called when the user press the legend button

OnEnterTime(event)[source]

Called when the user press enter in the time text box

property start[source]

Return the start date selected by the user

property end[source]

Return the end date selected by the user

property time[source]

Return the time selected by the user

property time_str[source]

Return the time selected by the user as string

property alpha[source]

Return the alpha value selected by the user

wolfhece.PyWMS.img = None[source]