sounding_hodograph: Plot hodograph based on rawinsonde data

Description Usage Arguments Value Examples

View source: R/sounding_hodograph.R

Description

Plot rawinsonde hodograph to show changes in wind speed and direction with height

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sounding_hodograph(
  ws,
  wd,
  altitude,
  max_hght = 12000,
  max_speed = 25,
  lab_hghts = c(0, 1, 3, 6, 9, 12),
  close_par = TRUE,
  ...
)

Arguments

ws

wind speed [knots]

wd

wind direction [azimuth in degrees]

altitude

altitude [m] (can be above sea level or above ground level as function always consider first level as surface, i.e h = 0 m) altitude [m]

max_hght

maximum altitude [km] to be considered on the hodograph, 12 km used by default

max_speed

displayed range of the drawn hodograph [m/s], 25 m/s used as default

lab_hghts

height labels [km] to be drawn on the hodograph, 0, 1, 3, 6, 9, 12 used by default; NULL for skipping labels

close_par

if plot will be modified in next steps storing par settings is needed. This logical argument is turned on by default. If you want to modify Skew-T plot in next step set it to FALSE

...

other graphical parameters to be used with plot() function

Value

hodograph plot

Examples

1
2
3
4
chanhassen = get_sounding(wmo_id = 72649, yy = 2001, mm = 5, dd = 10, hh = 00)
sounding_hodograph(ws = chanhassen$ws, wd = chanhassen$wd, 
                   altitude = chanhassen$altitude,max_speed = 40)
title("Chanhasses - 10 May 2001, 00:00 UTC")

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