act.plotting.SkewTDisplay

class act.plotting.SkewTDisplay(obj, subplot_shape=(1,), ds_name=None, **kwargs)[source]

A class for making Skew-T plots.

This is inherited from the act.plotting.Display() class and has therefore has the same attributes as that class. See act.plotting.Display() for more information. There are no additional attributes or parameters to this class.

In order to create Skew-T plots, ACT needs the MetPy package to be installed on your system. More information about MetPy go here: https://unidata.github.io/MetPy/latest/index.html.

Examples

Here is an example of how to make a Skew-T plot using ACT:

sonde_ds = act.io.armfiles.read_netcdf(
   act.tests.sample_files.EXAMPLE_SONDE1)

skewt = act.plotting.SkewTDisplay(sonde_ds)
skewt.plot_from_u_and_v('u_wind', 'v_wind', 'pres', 'tdry', 'dp')
plt.show()

add_colorbar(mappable[, title, ...])

Adds a colorbar to the plot.

add_subplots([subplot_shape])

Adds subplots to the Display object.

assign_to_figure_axis(fig, ax)

This assigns the Display to a specific figure and axis.

plot_from_spd_and_dir(spd_field, dir_field, ...)

This plot will make a sounding plot from wind data that is given in speed and direction.

plot_from_u_and_v(u_field, v_field, p_field, ...)

This function will plot a Skew-T from a sounding dataset.

put_display_in_subplot(display, subplot_index)

This will place a Display object into a specific subplot.

set_xrng(xrng[, subplot_index])

Sets the x range of the plot.

set_yrng(yrng[, subplot_index])

Sets the y range of the plot.