act.plotting.SkewTDisplay

class act.plotting.SkewTDisplay(ds, subplot_shape=(1,), subplot=None, ds_name=None, set_fig=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.arm.read_arm_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_stability_info([temp_name, td_name, ...])

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

add_subplots([subplot_shape, set_fig, subplot])

Adds subplots to the Display object.

assign_to_figure_axis(fig, ax)

This assigns the Display to a specific figure and axis.

group_by(units)

Group the Display by specific units of time.

plot_enhanced_skewt([spd_name, dir_name, ...])

This will plot an enhanced Skew-T plot with a Hodograph on the top right and the stability parameters on the lower right.

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.

plot_hodograph(spd_field, dir_field[, ...])

This will plot a hodograph from the radiosonde wind data using MetPy

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.