esmvaltool/diag_scripts/validation.py
def plot_ctrl_exper(ctrl, exper, cfg, plot_key):
    """Call plotting functions and make plots depending on case"""
    if cfg['analysis_type'] == 'lat_lon':
        plot_latlon_cubes(ctrl, exper, cfg, plot_key)
    elif cfg['analysis_type'] == 'zonal_mean':
        plot_info = [plot_key, 'latitude', 'alltime']
        plot_zonal_cubes(ctrl, exper, cfg, plot_info)
    elif cfg['analysis_type'] == 'meridional_mean':
        plot_info = [plot_key, 'longitude', 'alltime']
        plot_zonal_cubes(ctrl, exper, cfg, plot_info)
Call plotting functions and make plots depending on case
Call plotting functions and make plots depending on case
Call plotting functions and make plots depending on case
def plot_ctrl_exper(ctrl, exper, cfg, plot_key):
    if cfg['analysis_type'] == 'lat_lon':
        plot_latlon_cubes(ctrl, exper, cfg, plot_key)
    elif cfg['analysis_type'] == 'zonal_mean':
        plot_info = [plot_key, 'latitude', 'alltime']
        plot_zonal_cubes(ctrl, exper, cfg, plot_info)
    elif cfg['analysis_type'] == 'meridional_mean':
        plot_info = [plot_key, 'longitude', 'alltime']
        plot_zonal_cubes(ctrl, exper, cfg, plot_info)
def plot_ctrl_exper ( ctrl , exper , cfg , plot_key ) : if cfg [ 'analysis_type' ] == 'lat_lon' : plot_latlon_cubes ( ctrl , exper , cfg , plot_key ) elif cfg [ 'analysis_type' ] == 'zonal_mean' : plot_info = [ plot_key , 'latitude' , 'alltime' ] plot_zonal_cubes ( ctrl , exper , cfg , plot_info ) elif cfg [ 'analysis_type' ] == 'meridional_mean' : plot_info = [ plot_key , 'longitude' , 'alltime' ] plot_zonal_cubes ( ctrl , exper , cfg , plot_info )
Call plotting functions and make plots depending on case
Call plotting functions and make plots depending on case
"""Call plotting functions and make plots depending on case"""
ctrl
exper
cfg
plot_key