scripts.plotting.qbo

Functions

my_formatwarning(msg, *args, **kwargs)

qbo(adfobj)

This subroutine plots...

cosweightlat(darray, lat1, lat2)

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

calcddamp(data)

Calculate the Dunkerton and Delisi QBO amplitude

plotpos()

Positionings to position the plots nicely (3x4)

plotqbotimeseries(fig, dat, ny, x1, x2, y1, y2, title)

Function for plotting each QBO time series panel

plotcolorbar(fig, x1, x2, y1, y2)

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

blue2red_cmap(n[, nowhite])

combine two existing color maps to create a diverging color map with white in the middle

Module Contents

scripts.plotting.qbo.my_formatwarning(msg, *args, **kwargs)[source]
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

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.calcddamp(data)[source]

Calculate the Dunkerton and Delisi QBO amplitude

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.plotcolorbar(fig, x1, x2, y1, y2)[source]

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

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