My mailer screwed up the formatting ...
==========================================
No, but it should be easy to develop a function.
EG: If the data are on constant pressure surfaces and
the data are on a regular [fixed] global grid [eg: 2.5],
and the shear of the geostrophic wind is desired:
T_grad_lon = T ; create arrays to hold output,
; same size and type as input
T_grad_lat = T
; this procedure will overwrite
; values in T_grad_lon and T_grad_lat
*gradsf* (T, T_grad_lon, T_grad_lat)
T_grad_lon_at_long_name = "longitudinal gradient (derivative)"
T_grad_lat_at_long_name = "latitudinal gradient (derivative)"
dudz = (-g/(f*T))*T_grad_lat ; constant pressure levels
dudy = ( g/(f*T))*T_grad_lon
On a gaussian grid use 'gradsg'
===
If the data are on a limited area grid, use 'center_finite_diff'
to perform the gradient calculations.
Good luck
Dennis Shea wrote:
> No, but it should be easy to develop a function.
> EG: If the data are on constant pressure surfaces and
> the data are on a regular [fixed] global grid [eg: 2.5],
> and the shear of the geostrophic wind is desired:
>
> T_grad_lon = T ; create arrays to hold output,
> ; same size and type as input
> T_grad_lat = T ; this
> procedure will overwrite
> ; values in T_grad_lon and T_grad_lat
> *gradsf* (T, T_grad_lon, T_grad_lat)
> T_grad_lon_at_long_name = "longitudinal gradient (derivative)"
> T_grad_lat_at_long_name = "latitudinal gradient (derivative)"
>
> dudz = (-g/(f*T))*T_grad_lat ; constant pressure levels
> dudy = ( g/(f*T))*T_grad_lon
>
> On a gaussian grid use 'gradsg'
>
> ===
> If the data are on a limited area grid, use 'center_finite_diff'
> to perfom the grqadient calculations.
>
> Good luck
>
>
>
>
>>
>> Is there any function to calculate thermal wind in NCL? Thanks!
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Sep 26 2008 - 10:42:02 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 29 2008 - 13:35:43 MDT