Learn R Programming

climate (version 1.0.1)

sounding_wyoming: Sounding data

Description

Downloading the mea (i.e., measurements of the vertical profile of atmosphere) sounding data

Usage

sounding_wyoming(wmo_id, yy, mm, dd, hh)

Arguments

wmo_id

international WMO station code (World Meteorological Organization ID); For Polish stations: <U+0141>eba - 12120, Legionowo - 12374, Wroc<U+0142>aw- 12425

yy

year - single number

mm

month - single number denoting month

dd

day - single number denoting day

hh

hour - single number denoting initial hour of sounding; for most stations this measurement is done twice a day (i.e. at 12 and 00 UTC), sporadically 4 times a day

Value

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

  1. PRES - Pressure (hPa)

  2. HGHT - Height (metres)

  3. TEMP - Temperature (C)

  4. DWPT - Dew point (C)

  5. RELH - Relative humidity (%)

  6. MIXR - Mixing ratio (g/kg)

  7. DRCT - Wind direction (deg)

  8. SKNT - Wind speed (knots)

  9. THTA = (K)

  10. THTE = (K)

  11. THTV = (K)

The second list contains metadata and calculated thermodynamic / atmospheric instability indices

A list of 2 data.frames where first data frame represents parameters of upper parts o with columns describing the meteorogical parameters (e.g. temperature, air pressure) where each row represent a measurement, depending on the height. Secound data.frame present a description of the conditions under which the sounding was carried out.

Examples

Run this code
# NOT RUN {
# generate the date to download randomly:

  profile = sounding_wyoming(wmo_id = 12120, 
                             yy = sample(2000:2019,1),
                             mm = sample(1:12,1), 
                             dd = sample(1:20,1), 
                             hh = 0)
  head(profile)
  plot(profile[[1]]$HGHT, profile[[1]]$PRES, type = 'l')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab