[gradsusr] one simple question???

Rashed Mahmood rashidcomsis at gmail.com
Fri Dec 24 08:29:14 EST 2010


Hi Metias ...The problem is solved now...thanks

On Fri, Dec 24, 2010 at 10:15 AM, Rashed Mahmood <rashidcomsis at gmail.com>wrote:

> Hi Metias
>
> After adding 'set x 1'  the grads does not give error message however the
> output image is not what I wanted. I have attached the output. Also I am
> attaching here the kind of output (from Liu et al., 2009) I would like to
> have. I want to plot pressure levels on y-axis and latitudes on x-axis with
> wind vectors plotted in the figure.
>
>
>
> Any ideas?
>
> Thanks
>
> Rashed
>
>   On Fri, Dec 24, 2010 at 2:53 AM, Matias Mendez <matias.mendezp at gmail.com
> > wrote:
>
>> Hi Rashed,
>>
>> Try adding a line with 'set x 1' after 'set lat 0 60'
>>
>> Regards,
>> Matias
>>
>>
>> On Thu, Dec 23, 2010 at 9:28 AM, Rashed Mahmood <rashidcomsis at gmail.com>
>> wrote:
>> > Hi all
>> >
>> > I am trying to draw a diagram to show vertical meridional circulation. I
>> > wrote a simple script to draw it:
>> >
>> > 'sdfopen D:\vcomp_month.nc'
>> >
>> > 'sdfopen D:\ucomp_month.nc'
>> >
>> > 'set t 1'
>> >
>> > 'set gxout vector'
>> >
>> > 'set lev 1000 300'
>> >
>> > 'set lat 0 60'
>> >
>> > 'define a = ave(vcomp.1,lon=100,lon=130)'
>> >
>> > 'define b = ave(ucomp.2,lon=100,lon=130)'
>> >
>> > 'd a;b'
>> >
>> >
>> >
>> > It shows an error as follows:
>> >
>> > "Operation error: Invalid dimension environment
>> >
>> > Looping dimension does not vary"
>> >
>> > Does any body know where I went wrong? I am using verion 2.9 on windows
>> xp
>> >
>> > Thanks
>> >
>> > Rashed
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > gradsusr mailing list
>> > gradsusr at gradsusr.org
>> > http://gradsusr.org/mailman/listinfo/gradsusr
>> >
>> >
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101224/ef16bd5a/attachment-0003.html 


More information about the gradsusr mailing list