-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine Output Metadata when run with zppy #833
Comments
I had a brief investigation. There is not a simple solution, because zppy is using symlinks from temporal directories which was later removed after the zppy run. zppy saves climo files from all year ranges in one folder, which e3sm_diags won't know which set of climos to use. An additional step is needed to create symlinks which isolates each set of climo files. The current workaround, we have is to create the test and reference data directory following steps provided in e3sm_diags scripts from zppy output, e.x.: e3sm_diags_lnd_monthly_mvm_lnd_model_vs_model_1985-2014_vs_1985-2014.o584836. as following example:
Supplying the |
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.
The text was updated successfully, but these errors were encountered: