Using Regrid2 to display wind barbs

Tye Parzybok tyep at METSTAT.COM
Fri Feb 25 11:47:27 EST 2005


This worked! Thank you so much!

ricardo marcelo da silva wrote:

> I'm not sure if regrid2 recognizes vector expressions like "u;v".
> Probally you'll need do define new regridded vars or use a long
> line.
>
> long line:
> d
> regrid2(ugrdprs(t=1,lev=1000),0.5,0.5,bl);regrid2(vgrdprs(t=1,lev=1000),0.5,0.5,bl)
>
>
> ;)
>
> On Fri, 25 Feb 2005, Tye Parzybok wrote:
>
>> I'm trying to display wind barbs at a higher resolution than the native
>> resolution (2.5 x 2.5 degrees) of my GRIB data using regrid2. This is my
>> sequence of steps in GrADS:
>>
>> open <filename>.ctl
>> set gxout barb
>> d regrid2(ugrdprs(t=1,lev=1000);vgrdprs(t=1,lev=1000),0.5,0.5,bl)
>>
>> And I get this error message:
>>
>> Syntax Error:  Unmatched parens
>>  Error ocurred at column 1
>> DISPLAY error:  Invalid expression
>>  Expression = regrid2(ugrdprs(t=1,lev=1000)
>>
>> Any ideas on how I can make this work?
>>
>> Thank you in advance for any help, advice or tips.
>>
>> -Tye
>>
>
>
>

--
--------------------------------
Tye W. Parzybok, President
Metstat, Inc.
Windsor, Colorado
voice: 970.686.1253
fax: 208.728.7256
email: tyep at metstat.com
web: http://www.metstat.com
--------------------------------



More information about the gradsusr mailing list