I think I have found a bug in ana_dqdsst.F. The stub code from the
most recent model version on subversion reads:
Code: Select all
!
!-----------------------------------------------------------------------
! Set surface heat flux sensitivity to SST (m/s/degC).
!-----------------------------------------------------------------------
!
#ifdef MY_APPLICATION
fac=day2sec/30.0_r8 ! 30 day relaxation scale 1/s/decC
DO j=JstrT,JendT
DO i=IstrT,IendT
dqdt(i,j)=fac*Hz(i,j,N(ng))
END DO
END DO
#else
(m*seconds/day**2) since the units of Hz are meters and the units of
day2sec are seconds/day, and the units of the 30 are days.
Also, dqdt needs to be negative, or it drives the model
exponentially away from the SST climatology.
A corrected version, also with a minor tweak to the comment, is
Code: Select all
!
!-----------------------------------------------------------------------
! Set surface heat flux sensitivity to SST (m/s/degC).
!-----------------------------------------------------------------------
!
#ifdef MY_APPLICATION
fac=1.0_r8/(day2sec*30.0_r8) ! 30 day relaxation scale 1/s/decC, in the absence of vertical mixing
DO j=JstrT,JendT
DO i=IstrT,IendT
dqdt(i,j)=-fac*Hz(i,j,N(ng))
END DO
END DO
#else
Jamie