get_sounding: Download rawinsonde measurement

Description Usage Arguments Value Source Examples

View source: R/get_sounding.R

Description

Download rawinsonde measurement from sounding database of the University of Wyoming in a form convenient to use with thundeR package.

Usage

1
get_sounding(wmo_id, yy, mm, dd, hh, metadata = FALSE)

Arguments

wmo_id

international WMO station code (e.g. 11035 for Vienna)

yy

year - single number (e.g. 2010)

mm

month - single number (e.g. 5)

dd

day - single number (e.g. 23)

hh

hour - single number (e.g. 0)

metadata

- logical, whether to return metadata of downloaded sounding; default FALSE

Value

Returns two lists with values described at: weather.uwyo.edu ; The first list contains:

  1. pressure - pressure [hPa]

  2. altitude - altitude [meters]

  3. temp - temperature [degree Celsius]

  4. dpt - dew point temperature [degree Celsius]

  5. wd - wind direction [azimuth in degrees]

  6. ws - wind speed [knots]

If metadata = TRUE then retrieved data is wrapped to a list with the second element containing metadata

Source

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

Examples

1
2
3
4
5
6
7
8
9
# download rawinsonde profile from Leba station (WMO ID: 12120) for 20 August 2010 1200 UTC:

  profile = get_sounding(wmo_id = 12120, 
                         yy = 2010,
                         mm = 8, 
                         dd = 20, 
                         hh = 12)
  head(profile)
  

thunder documentation built on March 18, 2021, 5:06 p.m.