sounding_save: Save 'sounding_layout' to a graphical file

Description Usage Arguments Value Examples

View source: R/sounding_save.R

Description

Auxiliary function to 'sounding_plot' that plots a composite \ of Skew-T, hodograph and selected convective parameters \ on a single layout and saves as graphical file.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sounding_save(
  pressure,
  altitude,
  temp,
  dpt,
  wd,
  ws,
  title = "",
  parcel = "MU",
  filename,
  ...
)

Arguments

pressure

pressure [hPa]

altitude

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

temp

temperature [degree Celsius]

dpt

dew point temperature [degree Celsius]

wd

wind direction in degrees [azimuth in degrees]

ws

wind speed [knots]

title

title to be added in the layout's header

parcel

parcel tracing on Skew-T for "MU", "ML" or "SB" parcel

filename

output file name with extension indicating file format (e.g. "my_plot.png" or "my_plot.svg")

...

other arguments that can be used with 'sounding_plot' or other graphic arguments

Value

graphical file with Skew-T and hodograph layout

Examples

1
2
3
4
5
6
data("sounding_vienna")
attach(sounding_vienna)
sounding_save(filename = "Vienna.png", 
              pressure, altitude, temp, dpt, wd, ws, parcel = "MU", 
              title = "Vienna - 23 August 2011, 12:00 UTC")
 

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