Skip to content

Reproducibility of e3sm_diags runs from zppy #670

@chengzhuzhang

Description

@chengzhuzhang

In the Output Metadata for each diagnostics plot, it includes the command line that produce the 3 panel plots. When working with @BunnyVon , we found that to run e3sm_diags with zppy, the path parameters only show strings, instead of full path of the data. This makes reproducing figures less straightforward, one has to locate the data path before re-run. Example command shows below:

e3sm_diags lat_lon_land --no_viewer --reference_data_path 'climo_ref_land' --test_data_path 'climo_test_land' --results_dir 'model_vs_model_1985-2014' --case_id 'model_vs_model' --run_type 'model_vs_model' --sets 'lat_lon_land' --variables 'TLAI' --seasons 'DJF' --regions 'global' --regrid_tool 'esmf' --regrid_method 'conservative' --multiprocessing --num_workers '24' --main_title 'TLAI DJF global' --backend 'mpl' --output_format 'png' --canvas_size_w '1212' --canvas_size_h '1628' --figsize '8.5' '11.0' --dpi '150' --arrows --contour_levels '0' '0.412' '0.823' '1.23' '1.65' '2.06' '2.47' '2.88' '3.29' '3.7' '4.12' '4.53' '4.94' '5.35' '5.76' '6.17' --test_name 'v2.LR.BDRDCO2' --short_test_name 'CO2v2AMIP.BDRD' --test_colormap 'WhiteBlueGreenYellowRed.rgb' --ref_name 'v2.LR.BGC-LNDATM.CONTRL' --reference_colormap 'WhiteBlueGreenYellowRed.rgb' --diff_title 'Difference' --diff_colormap 'BrBG' --granulate 'variables' 'seasons' 'plevs' 'regions' --selectors 'sets' 'seasons'

Ideally, we want e3sm_diags to expose the complete path, or we can implement through zppy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions