plotting.qbo module

scripts.plotting.qbo.blue2red_cmap(n, nowhite=False)[source]

combine two existing color maps to create a diverging color map with white in the middle n = the number of contour intervals

scripts.plotting.qbo.calcddamp(data)[source]

Calculate the Dunkerton and Delisi QBO amplitude

scripts.plotting.qbo.cosweightlat(darray, lat1, lat2)[source]

Calculate the weighted average for an [:,lat] array over the region lat1 to lat2

scripts.plotting.qbo.plotcolorbar(fig, x1, x2, y1, y2)[source]

Plotting the color bar at location [x1, y1, x2-x2, y2-y1 ]

scripts.plotting.qbo.plotpos()[source]

Positionings to position the plots nicely (3x4)

scripts.plotting.qbo.plotqbotimeseries(fig, dat, ny, x1, x2, y1, y2, title)[source]

Function for plotting each QBO time series panel

Input:

fig = the figure axis dat = the data to plot of the form (time, lev) ny = the number of years to plot x1, x2, y1, y2 = plot positioning arguments

scripts.plotting.qbo.qbo(adfobj)[source]

This subroutine plots…

  1. the times series of the 5S to 5N zonal mean U (QBOts.png)

  • this uses the same record length for each dataset and compares with ERA5.

  1. the Dunkerton and Delisi QBO amplitude (QBOamp.png)

  • this uses the full record length for each dataset and compares with ERA5.

Isla Simpson (islas@ucar.edu) 22nd March 2022