1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
subroutine utransform(uint,yt,dxdt)
***********************************************************************
* *
* TRAJECTORY MODEL SUBROUTINE UTRANSFORM *
* *
***********************************************************************
* *
* AUTHOR: G. WOTAWA *
* DATE: 1994-02-14 *
* LAST UPDATE: 1996-03-21 A. Stohl *
* Runtime optimization *
* *
* *
***********************************************************************
* *
* DESCRIPTION: This subroutine transforms the interpolated zonal *
* wind <uint> [m/s] to <dxdt> [grid units/time unit] *
* xthelp help variable computed in readgrid *
* *
***********************************************************************
* *
* INPUT: *
* *
* uint interpolated zonal wind component [m/s] *
* *
***********************************************************************
* *
* OUTPUT: *
* *
* dxdt total differential in x direction [grid units/time unit] *
* *
***********************************************************************
*
include 'includepar'
include 'includecom'
real uint,yt,dxdt,fact,pih
parameter(pih=pi/180.)
fact=max(cos((yt*dy+ylat0)*pih),1.e-4)
dxdt=uint/fact*xthelp
return
end
|