wmoutils#

Welcome to the documentation of wmoutils: a simple and unassuming collection of utility functions to query and extract WMO-related information from various sources, such as WDQMS and OSCAR/Surface.

Warning

wmoutils is not an official product of the World Meteorological Organization (WMO) !

With wmoutils, you can:

  • query OSCAR/Surface:

    from wmoutils.query import query_oscar_surface
    
    # Query a single station using its wigos ID
    one_site = query_oscar_surface(wigosId='0-20000-0-06610')
    
    # Query all fixed surface stations in Switzerland
    many_sites = query_oscar_surface(territoryName='CHE',facilityType='LandFixed')
    
  • query WDQMS:

    from wmoutils.query import query_wdqms
    
    # Query the availability of temperature observations for all GBON surface stations in 2026-01
    availability = query_wdqms(module='gbon', station_type='surface', var_name='temperature',
                               interval='monthly', category='availability', date='2026-01')
    
  • derive the so-called “radius of influence” for GBON stations:

    from wmoutils import gbon
    
    # Compute the radius of influence for all GBON surface stations in Switzerland
    roi_km = gbon.get_influence_radius(station_type='surface', over='land', high_density=False)
    

You can refer to the pages linked below for more details on these different functionalities.

Note

wmoutils is being developed at MeteoSwiss on Github. If you encounter trouble while using wmoutils, please report the issue on the GitHub repository. If you wish to contribute to the development of wmoutils, please refer to the contributing guidelines.