[gradsusr] Grads vertical derivative error with cdiff

Jeff Duda jeffduda319 at gmail.com
Sun May 6 21:44:11 EDT 2012


You can't use cdiff in the vertical.  You must calculate the derivative
using a manual centered difference.  For example, 'd
0.5*(geopot(z+1)-geopot(z-1))'

Jeff Duda

On Sun, May 6, 2012 at 7:32 PM, Aishwarya <spaceaish at gmail.com> wrote:

> Hi,
>
> I'm trying to find vertical derivative of geopotential (geopt). I tried d
> cdiff(geopt,z), i find the error :
> Error from CDIFF:  Specified dimension non varying
> Operation Error:  Error from cdiff function
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = cdiff(u,z)
>
> Any help would be great!
>
> Thank you,
> -------
> *Aishwarya,
> Graduate Research Assistant,
> Atmospheric Sciences,
> University of Arizona,Tucson.*
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120506/2ad68413/attachment-0003.html 


More information about the gradsusr mailing list