Using Regrid2 to display wind barbs

ricardo marcelo da silva ricardom at ACD.UFRJ.BR
Fri Feb 25 07:03:04 EST 2005


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
>



More information about the gradsusr mailing list