[gradsusr] cdiff

Jeffrey Duda jdduda at iastate.edu
Wed May 5 11:09:16 EDT 2010


Muhammad,
Unfortunately, you simply can't define a variable using cdiff in the
z-direction in Grads.  You can display a variable, but you'd have to write
out the entire formula for that variable in the display command.

Jeff Duda

On Wed, May 5, 2010 at 5:59 AM, Muhammad Afzaal <afzaalkarori at gmail.com>wrote:

> Hello everybody
>
> I am using "cdiff" function along z-dimension to fine dvar/dz e.g
>
> -> 'set z 1 17'
> -> 'define dvar = cdiff(var,z)
>
> but I have following error
>
> Error from CDIFF:  Specified dimension non varying
> Operation Error:  Error from cdiff function
>   Error ocurred at column 1
>
> can anybody figure out the problem?
>
> Thanks
>
>
> --
> MUHAMMAD AFZAAL KARORI
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100505/5ba012dc/attachment-0003.html 


More information about the gradsusr mailing list