get_sounding_data: Get sounding data for a station

Description Usage Arguments Value

View source: R/get-sounding-data.R

Description

Get sounding data for a station

Usage

1
2
3
4
get_sounding_data(station_number, date, include_frost = FALSE,
  region = c("naconf", "samer", "pac", "nz", "ant", "np", "europe", "africa",
  "seasia", "mideast"), from_hr = c("00", "12", "all"), to_hr = c("00",
  "12", "all"))

Arguments

station_number

the station number

date

an ISO character string (e.g. YYYY-mm-dd) or a valid Date object

include_frost

if TRUE, include frost point calculations. Default: FALSE

region

one of "naconf", "samer", "pac", "nz", "ant", "np", "europe", "africa", "seasia", "mideast" (which matches the values of the drop-down menu on the site). Use get_region_codes() to get a mapping of region names to valid region codes.

from_hr, to_hr

one of 00 (or 0), 12 or all; if all then both values will be set to all

Value

data frame of soundings data with a "meta" attribute that contains metadata about the station and result. Also, the date and from/to hours are added columns to make it easier to save and reuse the data.


hrbrmstr/unsound documentation built on May 20, 2019, 5:42 p.m.