updated top-level README and version_decl for V4.5 (#1847)
[WRF.git] / var / da / da_ssmi / da_transform_xtospeed.inc
blob522d300a3cba622c09ab9928d765995c20347ca0
1 subroutine da_transform_xtospeed(Speed,U,V)
3    !----------------------------------------------------------------------------
4    ! Purpose: Convert (U-V in m/s) components into wind speed (Speed in m/s)
5    !----------------------------------------------------------------------------
7    implicit none
9    real, intent (out) :: Speed
10    real, intent (in)  :: U, V
12    if (trace_use) call da_trace_entry("da_transform_xtospeed")
14    Speed = sqrt(U*U + V*V)
16    if (trace_use) call da_trace_exit("da_transform_xtospeed")
18 end subroutine da_transform_xtospeed