Re: Is any function to calculate thermal wind?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 26 Sep 2008 10:29:31 -0600

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
Received on Fri Sep 26 2008 - 10:29:31 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 29 2008 - 13:35:43 MDT