plotWind {RadioSonde} | R Documentation |
Winds Profile Plot
Description
Creates a wind profile in the standard atmospheric notation. Each full barb = 10 m/s, half barb = 5 m/s, and a filled triangle for 50 m/s. The maximum wind speed that can be plotted without amending the program is 65 m/s.
Usage
plotWind(sondeData, sizeBarb = NULL, ylim = c(1050, 100),
thin=NULL, legend = FALSE, lwd=1, col="green4",
axis=TRUE)
Arguments
sondeData |
Data frame for sounding data, must have components for
wind speed |
sizeBarb |
change the thickness of the plotted lines |
thin |
Max number of wind barbs to draw. |
axis |
If TRUE add an axis in pressure. |
col |
Color of barbs |
lwd |
Line width for barbs |
ylim |
Plot extent, in units of pressure. Note this is a reversed axis. |
legend |
explains wind barb convention |
Details
the dataframe must have components for wind speed wspd
,
wind direction dir
, and pressure press
.
Missing values may be coded as either NA or 999. and are
not plotted.
The standard atmospheric wind sybmol is a vector of fixed length
with barbs proportional to wind speed. A full barb for each 10 m/s,
half barbs for 5 m/s and a triangular barb for 50 m/s.
Value
None – creates a plot.
Author(s)
Doug Nychka, Eric Gilleland
See Also
Examples
# Example 1:
data(sonde1)
plotWind(sonde1, sizeBarb =1.0, legend=TRUE )