1: CLM SP

1: CLM SP#

We will first run CLM in satellite phenology (SP) mode. In SP mode, CLM prescribes vegetation state (i.e., leaf area, height, and stem area) from satellite observations rather than growing it. The model only computes the biophysical exchange of energy, water, and carbon over that fixed canopy, which makes SP runs cheap and a good baseline when you want realistic surface fluxes without a prognostic carbon cycle.

Exercise: Run a CLM SP case

Create a case called i.clm.sp.year1 using the compset I2000Clm60Sp at f19_f19_mt233 resolution.

Set the run length to 1 year.

Build and run the model.

Click here for hints

How do I compile?

You can compile with the command:

qcmd -- ./case.build

How do I change the run length to 1 year?

Use xml variables: STOP_OPTION and STOP_N.


How do I check my solution?

When your run is completed, go to the archive directory and navigate to the subdirectory lnd/hist

cd /glade/derecho/scratch/$USER/archive/i.clm.sp.year1
cd lnd/hist

Check that your archive directory contains the files:

i.clm.sp.year1.clm2.h0a.2000-01.nc  i.clm.sp.year1.clm2.h0i.2000-01.nc
i.clm.sp.year1.clm2.h0a.2000-02.nc  i.clm.sp.year1.clm2.h0i.2000-02.nc
i.clm.sp.year1.clm2.h0a.2000-03.nc  i.clm.sp.year1.clm2.h0i.2000-03.nc
i.clm.sp.year1.clm2.h0a.2000-04.nc  i.clm.sp.year1.clm2.h0i.2000-04.nc
i.clm.sp.year1.clm2.h0a.2000-05.nc  i.clm.sp.year1.clm2.h0i.2000-05.nc
i.clm.sp.year1.clm2.h0a.2000-06.nc  i.clm.sp.year1.clm2.h0i.2000-06.nc
i.clm.sp.year1.clm2.h0a.2000-07.nc  i.clm.sp.year1.clm2.h0i.2000-07.nc
i.clm.sp.year1.clm2.h0a.2000-08.nc  i.clm.sp.year1.clm2.h0i.2000-08.nc
i.clm.sp.year1.clm2.h0a.2000-09.nc  i.clm.sp.year1.clm2.h0i.2000-09.nc
i.clm.sp.year1.clm2.h0a.2000-10.nc  i.clm.sp.year1.clm2.h0i.2000-10.nc
i.clm.sp.year1.clm2.h0a.2000-11.nc  i.clm.sp.year1.clm2.h0i.2000-11.nc
i.clm.sp.year1.clm2.h0a.2000-12.nc  i.clm.sp.year1.clm2.h0i.2000-12.nc
Click here for the solution

Create a new case

Create a new case i.clm.sp.year1 with the command:

cd /glade/u/home/$USER/code/my_cesm_code/cime/scripts
./create_newcase --case ~/cases/i.clm.sp.year1 --compset I2000Clm60Sp --res f19_f19_mt233 --run-unsupported

Case setup

cd ~/cases/i.clm.sp.year1
./case.setup

Set run length

Change the run length:

./xmlchange STOP_N=1,STOP_OPTION=nyears

Check the namelist by running:

./preview_namelists

Change the job queue and account number

If needed, change job queue and account number.

For instance, to run in the queue tutorial and the project number UESM0016:

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

Change the wallclock time

./xmlchange --subgroup case.run JOB_WALLCLOCK_TIME=01:00:00

Build case

qcmd -- ./case.build

Submit case

./case.submit

Check the run: When the run is completed, look into the archive directory for: i.clm.sp.year1.

(1) Check that your archive directory on derecho (The path will be different on other machines):

cd /glade/derecho/scratch/$USER/archive/i.clm.sp.year1/lnd/hist

ls 

We will investigate the output in a subsequent exercise.