{
"cells": [
{
"cell_type": "markdown",
"id": "be6cc596-ea4e-4a65-a558-f5d08ede1431",
"metadata": {},
"source": [
"# CAM vs Obs\n",
"\n",
"This will be a simple guided demo of running the ADF with sample data for CAM vs CAM comparison. For an example of CAM simulation vs observations/reanalysis, navigate to this demo\n",
"\n",
"Use this as a follow along as you work locally for this example ADF run.\n",
"\n",
"Navigate to where you cloned the ADF:\n",
"\n",
"- If you followed our instructions earlier, you should have the ADF root directory at: `/glade/work/ Look for the conifuration yaml file that will be used to run the ADF, `config_baseline_example.yaml`\n",
"\n",
"This is probably the most important file for the ADF. This stores all the necessary information that the ADF needs to run as well as all the relevant information about the case and baseline/observation/cmip runs.
Next open this new copy in your favorite editor:\n", " \n", " emacs config_tutorial_example.yaml\n", "\n", "Here we will do just a couple of changes for the output paths and cases/climo years\n", "
\n", "\n", "\n", "##### Subsections\n", "\n", "A quick refresher of the different sections on this yaml file\n", "\n", "* diag_basic_info\n", " - Basic overall run variables\n", " \n", "* diag_cam_climo\n", " - Test (experiment) case variables\n", " \n", "* diag_cam_baseline_climo\n", " - Baseline (control) case variables\n", " - Note: these are the same variables as `diag_cam_climo` just for the baseline case\n", " \n", "* diag_cvdp_info\n", " - For running the Climate Variability Diagnostics Package https://www.cesm.ucar.edu/projects/cvdp\n", " - This will run in the background of the ADF\n", " \n", "* time_averaging_scripts\n", " - Climotology file creation\n", " \n", "* regridding_scripts\n", " - Regridding of climo files\n", " \n", "* analysis_scripts\n", " - AMWG statisics tables\n", " \n", "* plotting_scripts\n", " - Various plotting scripts\n", " \n", "* diag_var_list\n", " - List of CAM variables for ADF to run\n", "\n", " \n", "\n", " user
: richling (YOUR-USER-NAME)
adf_path
: /glade/scratch/${user}/ADF
hist_path
: /glade/scratch/richling/ADF/tutorials/data
Attention
\n", "This is meerly a suggestion of how to configure the locations of all the files and diagnostic plots. We will stick to this convention for this tutorial, but please feel free to setup your ADF diagnsotics paths/hieracrhy in anyway that makes sense for your actual needs!
\n", " cam_regrid_loc
: ${adf_path}/regrid
cam_diag_plot_loc
: ${adf_path}/plots
cam_case_name
: f.cam6_3_106.FLTHIST_v0a.ne30.dcs_non-ogw.001
cam_hist_loc
: ${hist_path}/f.cam6_3_106.FLTHIST_v0a.ne30.dcs_effgw_rdg.001
cam_climo_loc
: ${adf_path}/climo/{diag_cam_climo.cam_case_name}
start_year
: 1995
end_year
: 2000
cam_ts_loc
: ${adf_path}/ts/{diag_cam_climo.cam_case_name}
/glade/scratch/<user>/ADF/regrid
/glade/scratch/<user>/ADF/plots
The ADF will output a new directory in the above location named:
\n", "\n", " f.cam6_3_106.FLTHIST_v0a.ne30.dcs_non-ogw.001_1995_2000_vs_Obs/
/glade/scratch/<user>/ADF/climo/f.cam6_3_106.FLTHIST_v0a.ne30.dcs_non-ogw.001
/glade/scratch/<user>/ADF/ts/f.cam6_3_106.FLTHIST_v0a.ne30.dcs_non-ogw.001