pcmdi_metrics.viewer.generate_pmp_output_viewer_multimodel

pcmdi_metrics.viewer.generate_pmp_output_viewer_multimodel(mips=['cmip5', 'cmip6'], exps=['historical', 'amip'], metrics=['mean_climate', 'variability_modes', 'enso_metric'], output_dir=None, assets_path=None)[source]

Writes out bokeh layout objects as HTML files and creates base gallery style HTML file with links to each summary metric page based on mip, exp, and metrics.

Parameters:
  • mips (list) – The model intercomparison projects (e.g, [‘cmip5’, ‘cmip6’]).

  • exps (list) – The experiments (e.g., [‘historical’, ‘amip’]).

  • metrics (list) – List of metrics (e.g., [‘mean_climate’, ‘variability_modes’, ‘enso_metric’]).

  • output_dir (str) – The directory path to save the output HTML files. If None, the files will be saved in the current working directory.

  • assets_path (str) – The directory path or URL to the assets folder containing the PMP logo and style.css file.

Returns:

html – An HTML file containing an image gallery with links to each metric page from the metrics list.