ADF#
A number of plots are provided from ADF. The full output from the stand-alone ADF configuration is in the link below.
Note that in standalone format (eg, CUPiD run not through CESM workflow), ADF is currently run by users via the following process:
Install ADF and activate cupid-analysis
Use the
CUPiD/helper_scripts/generate_adf_config_file.pyscript to generate an ADF config file based on a CUPiD configuration file.cd CUPiD/examples/external_diag_packages../../helper_scripts/generate_adf_config_file.py --cupid-config-loc . --adf-template ../../externals/ADF/config_amwg_default_plots.yaml --out-file ADF_config.yaml
Run ADF with the newly created configuration file.
../../externals/ADF/run_adf_diag ADF_config.yaml
# Parameters
case_name = "b.e30_alpha07c_cesm.B1850C_LTso.ne30_t232_wgx3.232"
base_case_name = "b.e30_alpha07c_cesm.B1850C_LTso.ne30_t232_wgx3.228"
CESM_output_dir = "/glade/campaign/cesm/development/cross-wg/diagnostic_framework/CESM_output_for_testing"
start_date = "0001-01-01"
end_date = "0021-01-01"
base_start_date = "0001-01-01"
base_end_date = "0045-01-01"
obs_data_dir = (
"/glade/campaign/cesm/development/cross-wg/diagnostic_framework/CUPiD_obs_data"
)
ts_dir = None
lc_kwargs = {"threads_per_worker": 1}
serial = False
adf_root = "../../examples/key_metrics/ADF_output/"
key_plots = [
"Surface_Wind_Stress_ANN_LatLon_Vector_Mean.png",
"PRECT_ANN_LatLon_Mean.png",
"PS_DJF_SHPolar_Mean.png",
"TaylorDiag_ANN_Special_Mean.png",
]
compare_obs = False
subset_kwargs = {}
product = "/glade/work/richling/CUPid_pr_test/CUPiD/examples/key_metrics/computed_notebooks//atm/ADF.ipynb"
Key Metrics from ADF#
Some important things to look at from ADF include a comparison table and a few maps:
| variable | unit | test | control | diff |
|---|---|---|---|---|
| OCNFRAC | fraction | 0.665 | 0.665 | 0 |
| SST | K | 292.271 | 292.112 | 0.159 |
| TS | K | 287.559 | 287.438 | 0.121 |
| SWCF | W/m2 | -47.377 | -47.544 | 0.167 |
| LWCF | W/m2 | 24.566 | 24.607 | -0.041 |
| PRECT | m/s | 3.51e-08 | 3.5e-08 | 1e-10 |
| TAUX | N/m2 | -0.00598 | -0.00609 | 0.00011 |
| TAUY | N/m2 | -0.00155 | -0.00181 | 0.00026 |
| TGCLDLWP | kg/m2 | 0.0515 | 0.0514 | 0.0001 |