From 04200ef73272669a653401ba14cdc4f5ac8436c0 Mon Sep 17 00:00:00 2001 From: Michael Levy Date: Wed, 20 Nov 2024 15:28:17 -0700 Subject: [PATCH] Bring ADF example into key_metrics This configuration does not work as expected -- there are no plots generated. I think it might be due to the fact that 092 is output on the native grid (atm/hist/regrid/ has history files on the FV grid if we can point ADF to it) --- examples/.gitignore | 2 +- examples/key_metrics/config.yml | 12 ++++++++++++ helper_scripts/.gitignore | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 helper_scripts/.gitignore diff --git a/examples/.gitignore b/examples/.gitignore index d4c29b6..ad4ae93 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1 +1 @@ -externals +*/ADF_output diff --git a/examples/key_metrics/config.yml b/examples/key_metrics/config.yml index 55dabbb..b9e903f 100644 --- a/examples/key_metrics/config.yml +++ b/examples/key_metrics/config.yml @@ -120,6 +120,17 @@ compute_notebooks: regridded_output: False # it looks like output is already on f09 grid, didn't need to regrid time-series file base_regridded_output: True validation_path: '/glade/campaign/cesm/development/cross-wg/diagnostic_framework/nmse_validation/fv0.9x1.25' + link_to_ADF: + kernel_name: cupid-dev + parameter_groups: + none: + adf_root: ../../external_diag_packages/ADF/ + case_year_range: "1_100" + base_case_year_range: "1_100" + external_tool: + tool_name: 'ADF' + vars: ['PRECT', 'SST'] + plotting_scripts: ["global_latlon_map", "global_latlon_vect_map"] glc: Greenland_SMB_visual_compare_obs: @@ -189,6 +200,7 @@ book_toc: - caption: Atmosphere chapters: - file: atm/Global_PSL_NMSE_compare_obs_lens + - file: atm/link_to_ADF # - caption: Ocean # chapters: diff --git a/helper_scripts/.gitignore b/helper_scripts/.gitignore new file mode 100644 index 0000000..1cda54b --- /dev/null +++ b/helper_scripts/.gitignore @@ -0,0 +1 @@ +*.yml