Define Command and Wind Vector

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Thu May 31 03:30:30 EDT 2007


the syntax define test = skip(ave(u,t=1,t=10),5,5);ave(v,t=1,t=10) is
wrong:
I'm not sure you can define over a skip command, but anyway, for sure,
you can only define one variable each time, not two  ...
Than the correct syntax is:
define utest = .....
define vtest = .....
display utest;vtest

Hoping it helps
bye bye
Davide

On Tue, 2007-05-29 at 12:52 -0400, Matt Georgescu wrote:
> Greetings all,
>
> In using Version 1.8SL10, I'm having difficulty using the "define" command
> in conjunction with a time average of wind vectors.
>
> This command works fine by itself:
> d skip(ave(u,t=1,t=10),5,5);ave(v,t=1,t=10)
>
> but if i try to save it for use down the road:
> define test = skip(ave(u,t=1,t=10),5,5);ave(v,t=1,t=10)
>
> GrADS displays a Syntax error.
>
> Any help on how to save this variable without displaying it (for further
> manipulation down the road)?
>
> thanks,
> matt
>
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list