1 subroutine da_transform_xtoseasfcwind(U,V,Speed,zhmkz)
3 !----------------------------------------------------------------------------
4 ! Purpose: Convert (U-V in m/s) components into wind speed (Speed in m/s)
5 !----------------------------------------------------------------------------
9 real, intent (out) :: Speed
10 real, intent (in) :: U, V, zhmkz
14 if (trace_use) call da_trace_entry("da_transform_xtoseasfcwind")
16 usfc = U*log(10./0.0001)/log(zhmkz/0.0001) ! roughness = 0.0001
17 vsfc = V*log(10./0.0001)/log(zhmkz/0.0001) ! roughness = 0.0001
18 speed = sqrt(usfc*usfc + vsfc*vsfc)
20 if (trace_use) call da_trace_exit("da_transform_xtoseasfcwind")
22 end subroutine da_transform_xtoseasfcwind