scripts.plotting.zonal_mean =========================== .. py:module:: scripts.plotting.zonal_mean Functions --------- .. autoapisummary:: scripts.plotting.zonal_mean.my_formatwarning scripts.plotting.zonal_mean.zonal_mean Module Contents --------------- .. py:function:: my_formatwarning(msg, *args, **kwargs) .. py:function:: zonal_mean(adfobj) Plots zonal average from climatological files (annual and seasonal). Compare CAM climatologies against other climatological data (observations or baseline runs). :param adfobj: The diagnostics object that contains all the configuration information :type adfobj: AdfDiag :returns: Does not return value, produces files. :rtype: None .. rubric:: 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.