Assuming you are referring to a WRF grid, the answer is "no" to the
'div' and 'grad' functionality.
If the data had been global and on a rectilinear grid,
NCL's spherical harmonic functions could perform the 'div'
and 'grad' operations. Unfortunately, the spherical harmonic functions
can not be applied to a non-global or curviliner grids.
--- "Calculating a vector": Basic geometry? (w=>omega). vlen = sqrt( (u(1)-u(0))^2 + (v(1)-v(0))^2 + (w(1)-w(0))^2 ) a is the angle between vlen and the x-axis b is the angle between vlen and the y-axis c is the angle between vlen and the z-axis a = acos((u(1)-u(0))/vlen) b = acos((v(1)-v(0))/vlen) c = acos((w(1)-w(0))/vlen) On 6/25/12 5:39 PM, Soumik Basu wrote: > Hi, > > I am trying to calculate some energy conversion terms and boundary flux > for which I need to calculate divergence and gradient of some terms like > div(T'u') and grad(T - T') . So is it possible to calculate this in NCL? > Also I need vector wind so is there any function for calculating vector > for example U which is a function of u,v,omega. > > > Thanks, > Soumik > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Jun 26 09:03:18 2012
This archive was generated by hypermail 2.1.8 : Fri Jun 29 2012 - 15:46:14 MDT