Changing the moist Held-Suarez SSTs

The following describes how to modify the analytical SST profile used in the moist Held-Suarez configuration (FTJ16 compset)

The SST profile is set in the source code

$CESM/components/cam/src/physics/simple/tj2016.F90

where $CESM is the location of the CESM release.

Create an FTJ16 run in the directory $CASE and then copy the tj2016.F90 source code into the src.cam SourceModes directory as follows

cp $CESM/components/cam/src/physics/simple/tj2016.F90 $CASE/SourceMods/src.cam

You can now modify the SST in $CASE/SourceMods/src.cam/tj2016.F90 and your simulation will use this modified source code. The SST profile is set with the following segment of code

   
    !==========================================================================
    ! Calculate Sea Surface Temperature and set exchange coefficient
    !==========================================================================
    if (simple_physics_option == "TJ16") then
      C=0.0044_r8        ! Surface exchange coefficient for sensible and latent heat for moist HS
      do i = 1, ncol     ! set SST profile
        Tsurf(i) = del_T*exp(-(((clat(i))**2.0_r8)/(2.0_r8*(T_width**2.0_r8)))) + T_min + 4
      end do
    else                 ! settings for RJ12
      C     = 0.0011_r8  ! Surface exchange coefficient for sensible and latent heat for simple-physics
      Tsurf = Tsurf_RJ12 ! constant SST
    endif

Modify the first equation for Tsurf to your chosen analytical profile

If you would like to instead read in the SST from a netcdf file, see the example here for a case where a field is read in from a netcdf file for pointers.