get_upper_air_data

metpy.io.get_upper_air_data(time, site_id, source='wyoming', **kwargs)[source]

Download and parse upper air observations from an online archive.

Parameters:
  • time (datetime) – The date and time of the desired observation.
  • site_id (str) – The three letter ICAO identifier of the station for which data should be downloaded.
  • source (str) – The archive to use as a source of data. Current can be one of ‘wyoming’ or ‘iastate’. Defaults to ‘wyoming’.
  • kwargs – Arbitrary keyword arguments to use to initialize source
Returns:

metpy.io.cdm.Dataset containing the data