diff --git a/gsmphys/sfc_diff_gfdl.f b/gsmphys/sfc_diff_gfdl.f index 87aeaf7f..d2e487c2 100644 --- a/gsmphys/sfc_diff_gfdl.f +++ b/gsmphys/sfc_diff_gfdl.f @@ -292,7 +292,7 @@ subroutine sfc_diff_gfdl(im,ps,u1,v1,t1,q1,z1, ! option 4: Moon et al 2007 under high winds (same as in HiRAM) ws10m_moon = 2.458 + ustar(i)*(20.255-0.56*ustar(i)) ! Eq(7) Moon et al. 2007 if ( ws10m_moon > 20. ) then - call cal_z0_moon(ws10m_moon, z0, charnock(i)) + call cal_z0_moon(ws10m_moon, z0) z0 = max(min(z0, z0s_max), 1.e-7) ! must apply limiter here endif endif @@ -481,7 +481,7 @@ end subroutine cal_zt_hwrf17 ! ======================================================================= - subroutine cal_z0_moon(ws10m, z0, charnock) + subroutine cal_z0_moon(ws10m, z0) ! coded by Kun Gao (Kun.Gao@noaa.gov) use machine , only : kind_phys use physcons, grav => con_g @@ -490,7 +490,7 @@ subroutine cal_z0_moon(ws10m, z0, charnock) real(kind=kind_phys) :: ustar_th, z0_adj real(kind=kind_phys), parameter :: -! & charnock=.014 + & charnock=.014 & wind_th_moon = 20. &, a = 0.56 &, b = -20.255