plotting.zonal_mean module

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

Plots zonal average from climatological files (annual and seasonal). Compare CAM climatologies against other climatological data (observations or baseline runs).

Parameters:

adfobj (AdfDiag) – The diagnostics object that contains all the configuration information

Returns:

Does not return value, produces files.

Return type:

None

Notes

Uses AdfData for loading data described by adfobj.

Directly uses adfobj for the following: diag_var_list, climo_yrs, variable_defaults, read_config_var, get_basic_info, add_website_data, debug_log

Determines whether lev dimension is present. If not, makes a line plot, but if so it makes a contour plot. TODO: There’s a flag to plot linear vs log pressure, but no

method to infer what the user wants.