plotwind {RadioSonde} | R Documentation |
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.
plotwind(dataframe, size=5, ylim=c(1050, 100), legend=FALSE)
dataframe |
Data frame for sounding data, must have components for
wind speed wspd , wind direction dir ,
and pressure press . |
size |
change the thickness of the plotted lines |
ylim |
plot extent, in units of pressure |
legend |
explains wind barb strategy |
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.
None – creates a plot.
Eric Gilleland, Tim Hoar, Doug Nychka
# Example 1: filename <- system.file("exampleData", "ExampleSonde.txt", package = "RadioSonde") sample.sonde <- getsonde(filename) plotwind(sample.sonde) # Example 2: plotwind(sample.sonde, size = 7, legend=TRUE)