2020-10-22 10:22:02,101 [16696] INFO esmvaltool.diag_scripts.shared._base,511 Starting diagnostic script script1 with configuration: auxiliary_data_dir: /net/tropo/climphys/rlorenz/ESMVal/auxiliary_data input_data: ? /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/preproc/diagnostic/pr/CMIP5_CanESM2_Amon_historical_r1i1p1_pr_2000-2002.nc : alias: CanESM2 dataset: CanESM2 diagnostic: diagnostic end_year: 2002 ensemble: r1i1p1 exp: historical filename: /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/preproc/diagnostic/pr/CMIP5_CanESM2_Amon_historical_r1i1p1_pr_2000-2002.nc frequency: mon institute: - CCCma long_name: Precipitation mip: Amon modeling_realm: - atmos preprocessor: preproc project: CMIP5 recipe_dataset_index: 0 short_name: pr standard_name: precipitation_flux start_year: 2000 units: kg m-2 s-1 variable_group: pr input_files: - /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/preproc/diagnostic/pr/metadata.yml log_level: debug output_file_type: pdf plot_dir: /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/plots/diagnostic/script1 profile_diagnostic: false quickplot: plot_type: pcolormesh realms: - atmos recipe: recipe_extract_shape.yml run_dir: /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/run/diagnostic/script1 script: script1 themes: - phys version: 2.1.0 work_dir: /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/work/diagnostic/script1 write_netcdf: true write_plots: true 2020-10-22 10:22:02,102 [16696] INFO esmvaltool.diag_scripts.shared._base,547 Creating /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/work/diagnostic/script1 2020-10-22 10:22:02,103 [16696] INFO esmvaltool.diag_scripts.shared._base,547 Creating /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/plots/diagnostic/script1 2020-10-22 10:22:02,104 [16696] INFO diagnostic,73 Example of how to select only CMIP5 temperature data: [] 2020-10-22 10:22:02,104 [16696] INFO diagnostic,77 Example of how to sort this selection by dataset: [] 2020-10-22 10:22:02,105 [16696] INFO diagnostic,83 Example of how to group and sort input data by variable groups from the recipe: {'pr': [{'alias': 'CanESM2', 'dataset': 'CanESM2', 'diagnostic': 'diagnostic', 'end_year': 2002, 'ensemble': 'r1i1p1', 'exp': 'historical', 'filename': '/net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/preproc/diagnostic/pr/CMIP5_CanESM2_Amon_historical_r1i1p1_pr_2000-2002.nc', 'frequency': 'mon', 'institute': ['CCCma'], 'long_name': 'Precipitation', 'mip': 'Amon', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP5', 'recipe_dataset_index': 0, 'short_name': 'pr', 'standard_name': 'precipitation_flux', 'start_year': 2000, 'units': 'kg m-2 s-1', 'variable_group': 'pr'}]} 2020-10-22 10:22:02,105 [16696] INFO diagnostic,90 Processing variable pr 2020-10-22 10:22:02,105 [16696] INFO diagnostic,92 Processing dataset CanESM2 2020-10-22 10:22:02,105 [16696] DEBUG diagnostic,45 Loading /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/preproc/diagnostic/pr/CMIP5_CanESM2_Amon_historical_r1i1p1_pr_2000-2002.nc 2020-10-22 10:22:02,159 [16696] DEBUG diagnostic,48 Running example computation 2020-10-22 10:22:02,162 [16696] INFO esmvaltool.diag_scripts.shared._base,132 Saving analysis results to /net/tropo/climphys/rlorenz/ESMVal/work/recipe_extract_shape_20201022_102154/work/diagnostic/script1/CMIP5_CanESM2_Amon_historical_r1i1p1_pr_2000-2002.nc 2020-10-22 10:22:02,231 [16696] DEBUG esmvaltool.diag_scripts.shared.plot._plot,329 Creating 'pcolormesh' plot None Traceback (most recent call last): File "/home/rlorenz/ESMValTool/ESMValTool/esmvaltool/diag_scripts/examples/diagnostic.py", line 107, in main(config) File "/home/rlorenz/ESMValTool/ESMValTool/esmvaltool/diag_scripts/examples/diagnostic.py", line 101, in main plot_diagnostic(cube, output_basename, provenance_record, cfg) File "/home/rlorenz/ESMValTool/ESMValTool/esmvaltool/diag_scripts/examples/diagnostic.py", line 61, in plot_diagnostic quickplot(cube, **cfg['quickplot']) File "/home/rlorenz/ESMValTool/ESMValTool/esmvaltool/diag_scripts/shared/plot/_plot.py", line 332, in quickplot plot_function(cube, **kwargs) File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool_2020/lib/python3.8/site-packages/iris/quickplot.py", line 260, in pcolormesh result = iplt.pcolormesh(cube, *args, **kwargs) File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool_2020/lib/python3.8/site-packages/iris/plot.py", line 1212, in pcolormesh result = _draw_2d_from_bounds('pcolormesh', cube, *args, **kwargs) File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool_2020/lib/python3.8/site-packages/iris/plot.py", line 373, in _draw_2d_from_bounds plot_defn = _get_plot_defn(cube, mode, ndims=2) File "/net/tropo/climphys/rlorenz/conda/envs/esmvaltool_2020/lib/python3.8/site-packages/iris/plot.py", line 148, in _get_plot_defn raise ValueError(msg % (ndims, cube.ndim)) ValueError: Cube must be 2-dimensional. Got 3 dimensions.