[gradsusr] Grads vertical derivative error with cdiff

Aishwarya spaceaish at gmail.com
Mon May 7 10:49:00 EDT 2012


Thank you. BUt if i set one specific level (say 500mb) and perform finite
diference, i find a straight line!

On Sun, May 6, 2012 at 6:44 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
*Aishwarya,
Graduate Research Assistant,
Atmospheric Sciences,
University of Arizona,Tucson.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120507/4c3a9452/attachment-0003.html 


More information about the gradsusr mailing list