[gradsusr] Grads vertical derivative error with cdiff

Thomas Robinson ter at hawaii.edu
Mon May 7 14:57:18 EDT 2012


Aloha,

does your geopotential equal gz?

d(geopot)/dz=d(gz)/dz=gdz/dz=g

This is a constant and would yield a straight line with the value of g.

On Mon, May 7, 2012 at 4:49 AM, Aishwarya <spaceaish at gmail.com> wrote:

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


-- 
Tom Robinson
President Graduate Student Organization
Student Caucus Representative for the Graduate Student Organization
Graduate Student - Department of Meteorology
732-718-2323
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120507/caa30823/attachment-0003.html 


More information about the gradsusr mailing list