[gradsusr] Grads vertical derivative error with cdiff

Jeff Duda jeffduda319 at gmail.com
Mon May 7 12:36:11 EDT 2012


How the result is displayed is entirely dependent on your dimension
environment settings.  If you want a spatial plot, then make sure your x
(lon) and y (lat) dimensions are varying rather than fixed.

Jeff

On Mon, May 7, 2012 at 9: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
>
>


-- 
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/20120507/87d1960c/attachment-0003.html 


More information about the gradsusr mailing list