Skip to content

Commit 1210b3b

Browse files
committed
change the ref case for xml exercises
1 parent 9441fea commit 1210b3b

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

notebooks/modifications/xml/exercises/xml_runtype_exercise.ipynb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
"\n",
1818
"<strong>Exercise: Modify the `env_run.xml` file </strong><br><br>\n",
1919
" \n",
20-
"Branch from the end of Exercise 1 Part I to create a new case named \"b1850.branch\". \n",
20+
"Branch from the end of another run to create a new case named \"b1850.branch\". \n",
21+
"\n",
22+
"We will branch from a run ``b1850.initial`` at year 2. The restart files for this run are located in: \n",
23+
"```\n",
24+
"/glade/campaign/cesm/tutorial/tutorial_2023_archive/b1850.initial/rest/0002-01-01-00000\n",
25+
"```\n",
26+
"\n",
2127
"Double the ocean coupling frequency (`OCN_NCPL`). Include an initial file as output data. Run for 1 month, then restart for 1 month. \n",
2228
" \n",
2329
" \n",
@@ -79,7 +85,7 @@
7985
"```\n",
8086
" cd /glade/u/home/$USER/cases/b1850.branch\n",
8187
" ./xmlchange RUN_TYPE=branch\n",
82-
" ./xmlchange RUN_REFCASE=b1850.run_length,RUN_REFDATE=0001-02-01,GET_REFCASE=FALSE\n",
88+
" ./xmlchange RUN_REFCASE=b1850.initial,RUN_REFDATE=0002-01-01,GET_REFCASE=FALSE\n",
8389
"```\n",
8490
"\n",
8591
"<br> \n",
@@ -101,7 +107,7 @@
101107
" \n",
102108
"```\n",
103109
" ./case.setup\n",
104-
" cp /glade/derecho/scratch/$USER/archive/b1850.run_length/rest/0001-02-01-00000/* /glade/derecho/scratch/$USER/b1850.branch/run/\n",
110+
" cp /glade/campaign/cesm/tutorial/tutorial_2023_archive/b1850.initial/rest/0002-01-01-00000/* /glade/derecho/scratch/$USER/b1850.branch/run/\n",
105111
"```\n",
106112
" \n",
107113
"<br>\n",

notebooks/modifications/xml/exercises/xml_timestep_exercise.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@
1717
"\n",
1818
"<strong>Exercise: Change physics timestep in CAM and CLM </strong><br><br>\n",
1919
"\n",
20-
"**Hybrid** start a fully coupled run under pre-Industrial conditions with a resolution of f19_g17. Use restart and initial files from Exercise 1. Change the physics timestep in the atmosphere and land to 1200 seconds (default is 1800). Run 5 days.\n",
20+
"**Hybrid** start a fully coupled run under pre-Industrial conditions with a resolution of f19_g17. \n",
21+
"\n",
22+
"Use restart and initial files from the run ``b1850.initial`` at year 2. The restart files for this run are located in: \n",
23+
"```\n",
24+
"/glade/campaign/cesm/tutorial/tutorial_2023_archive/b1850.initial/rest/0002-01-01-00000\n",
25+
"```\n",
26+
"\n",
27+
"Change the physics timestep in the atmosphere and land to 1200 seconds (default is 1800). Run 5 days.\n",
2128
" \n",
2229
"</div>"
2330
]
@@ -70,7 +77,7 @@
7077
"```\n",
7178
" cd /glade/u/home/$USER/cases/b1850.timestep\n",
7279
" ./xmlchange RUN_TYPE=hybrid\n",
73-
" ./xmlchange RUN_REFCASE=b1850.run_length,RUN_REFDATE=0001-02-01,GET_REFCASE=FALSE,JOB_WALLCLOCK_TIME=2:00:00\n",
80+
" ./xmlchange RUN_REFCASE=b1850.initial,RUN_REFDATE=0002-01-01,GET_REFCASE=FALSE,JOB_WALLCLOCK_TIME=2:00:00\n",
7481
"```\n",
7582
" \n",
7683
"<br> \n",
@@ -86,7 +93,7 @@
8693
" \n",
8794
"```\n",
8895
" ./case.setup\n",
89-
" cp /glade/derecho/scratch/$USER/archive/b1850.run_length/rest/0001-02-01-00000/* /glade/derecho/scratch/$USER/b1850.timestep/run/\n",
96+
" cp /glade/campaign/cesm/tutorial/tutorial_2023_archive/b1850.initial/rest/0002-01-01-00000/* /glade/derecho/scratch/$USER/b1850.timestep/run/\n",
9097
"```\n",
9198
" \n",
9299
"<br> \n",

0 commit comments

Comments
 (0)