[gradsusr] possible bug in define mode
Ricardo Hallak
hallak at model.iag.usp.br
Wed Feb 29 12:17:08 EST 2012
Hi Stefano,
Correcte me someone if necessary, but I think that "define" can save just
ORDINARY FIELDS, not VECTOR FIELDS.
Regards,
Ricardo
On Wed, 29 Feb 2012 17:16:39 +0100, Stefano Materia wrote
> Thanks Muhammad,
> this actually works if I display wind;vw
> But again, if I use "wind" in a define expression, it doesn't go well.
>
> define arrows = wind;vw
>
> Syntax error: expected operator or ')'
> Error occurred at column 23
>
> Now, I would really need to define this quantity because I'm going
> to use it later. Is there a way to do that?
>
> Thanks for your help.
> Stefano
>
> On 2/29/12 1:37 PM, afzaalkarori wrote:
> >
> >
> > Dear Stefano
> > Redefine u-component separately. something like
> > -> wind = skip(uw,8,8)
> > then plot
> > -> d wind;vw
> > It should work
> > Good Luck!
> > 2012-02-29
> > ------------------------------------------------------------------------
> > Muhammad Afzaal Karori
> > Institute of Atmospheric Physics
> > Chinese Academy of Sciences
> > Beijing - P.R. China
> > ------------------------------------------------------------------------
> > *???:* Stefano Materia
> > *????:* 2012-02-29 20:15:52
> > *???:* gradsusr
> > *??:*
> > *??:* [gradsusr] possible bug in define mode
> > Hi everyone,
> > I am using Grads 2.0.0.oga.1 and I am facing an odd issue.
> > When I try to define an expression for plotting wind vectors in this way:
> > define wind=skip(uw,8,8);vw
> > (where uw and vw are the two horizontal components), I get the following
> > error:
> > Syntax error: expected operator or ')'
> > Error occurred at column 23
> > Grads displays wind arrows in a proper way, instead, when I plot the
> > expression directly:
> > d skip(uw,8,8);vw
> > Bets regards,
> > Stefano Materia
> > _______________________________________________
> > 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
Ricardo Hallak
Department of Atmospheric Sciences (DCA)
Institute of Astronomy, Geophysics and Atmospheric Sciences (IAG)
University of São Paulo (USP)
Rua do Matão, 1226 - Cidade Universitária - São Paulo SP 05508-900
Phone.: +55 (11) 3091-2850; 3091-4703
Fax: +55 (11) 3091-4714
More information about the gradsusr
mailing list