wradlib.io.misc.get_radiosonde

Contents

wradlib.io.misc.get_radiosonde#

wradlib.io.misc.get_radiosonde(wmoid, date, *, cols=None, xarray=False, **kwargs)[source]#

Download radiosonde data from internet.

Based on http://weather.uwyo.edu/upperair/sounding.html.

Parameters:
Keyword Arguments:
  • cols (tuple, optional) – tuple of int or strings describing the columns to consider, defaults to None (all columns)

  • xarray (bool) – Defaults to False. If True return xarray.Dataset.

  • max_height (float) – Passed to radiosonde_to_xarray if xarray=True. Maximum height of output DataArray in m. Defaults to 30.000.0 m.

  • res (float) – Passed to radiosonde_to_xarray if xarray=True. Resolution to which output DataArray is linearly interpolated in m. Defaults to 1.0 m.

Returns:

  • data (numpy.ndarray) – Structured array of radiosonde data

  • meta (dict) – radiosonde metadata

  • ds (xarray.Dataset) – Only if xarray=True. Dataset with vertical radiosonde profile.