2: Turn off submesoscale parameterization

2: Turn off submesoscale parameterization#

Exercise: Turn off submesoscale parameterization

Create a case called g.GW_JRA.TL319_t233_wg37.002 using the compset GW_JRA at TL319_t233_wg37 resolution.

Verify that the run length is set to 1 year.

In user_nl_mom add the following line: MIXEDLAYER_RESTRAT = False.

Build and run the model for one year.

Compare the simulations using ncview/ncdiff, etc.

Click here for hints

How do I compile and run?

You can compile with the command:

qcmd -- ./case.build

You can run with the command:

./case.submit

How do I check the lenght of the run?

Use xmlquery to search for the variables that control the run length

Click here for the solution

Clone a new case g.GW_JRA.TL319_t233_wg37.002 with the command:

cd /glade/u/home/$USER/code/my_cesm_code/cime/scripts/
./create_newcase --case /glade/u/home/$USER/cases/g.GW_JRA.TL319_t233_wg37.002 --compset GW_JRA --res TL319_t233_wg37 --run-unsupported

Case setup:

cd /glade/u/home/$USER/cases/g.GW_JRA.TL319_t233_wg37.002 
./case.setup

Verify that the run length is 1 year:

./xmlquery -p STOP_N
./xmlquery -p STOP_OPTION

Edit the file user_nl_mom and add the line:

 MIXEDLAYER_RESTRAT = False

If needed, change job queue and account number. For instance:

./xmlchange JOB_QUEUE=tutorial,PROJECT=UESM0016 --force

Build and submit:

qcmd -- ./case.build
./case.submit

When the run is completed, look into the archive directory for: g.GW_JRA.TL319_t233_wg37.002.

cd /glade/derecho/scratch/$USER/archive/g.GW_JRA.TL319_t233_wg37.002/ocn/hist
ls 

Test your understanding#

  • What does that do to the ocean volume potential temperature (which is a proxy for the ocean heat uptake)?

  • How does that affect the mixed layer depth?