Error in plotskew.gs

Ricardo Hallak hallak at MODEL.IAG.USP.BR
Tue Mar 6 08:39:38 EST 2007


Dear Alvarez,

you should call the plotskew function in a way like this:

ga> set t <your_disered_time>
ga> set lon <your_desired_lon>
ga> set lev 1050 100
ga> plotskew(<your_ctl_temp_name_var>,<your_ctl_dewpoint_name_var>,
<your_ctl_windspd_name_var>,<your_ctl_winddir_name_var>)

In other words, you have to link your .ctl variables to the plotskew grads
script. This is made by passing arguments to the plotskew function. The
arguments are: air temperature, dew point temperature, wind speed and wind
direction.

Best regards,
Ricardo


On Tue, 6 Mar 2007 12:43:00 +0100, Leopoldo Alvarez wrote
> Dear grads-users,
>
> I am trying to use plotskew.gs, i have followed the steps of ->
> http://moe.met.fsu.edu/~rhart/skew.html#usage (Robert Hart)
>
> i use ->
>
> set lon -16
> set lat 28
> set lev 1050 100
>
> and this is the error ->
>
> - - - - - - - - - - - - - -
> ga-> plotskew.gs
> Syntax Error:  Invalid Operand
>   'snddewp' not a variable or function name
>   Error ocurred at column 2
> DEFINE error:  Invalid expression.
> Drawing temperature sounding.
> Drawing dewpoint sounding.
> Syntax Error:  Invalid Operand
>   'dewpx' not a variable or function name
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = dewpx
> Syntax Error:  Expected operand or '('
> Operation Error:  Error from maskout function
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = maskout(lev,+300)
> SET error:  Missing or invalid arguments for LEV option
> Display command error:  No expression provided
> Syntax Error:  Invalid Operand
>   'snddewp' not a variable or function name
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = snddewp
> Non-numeric args to numeric operation
> Error occurred processing function arguments
>   Error occurred on line 1984
>   In file plotskew.gs
>   Error occurred on line 2219
>   In file plotskew.gs
>   Error occurred on line 998
>   In file plotskew.gs
> - - - - - - - - - - - - - -
>
> Leopoldo Alvarez
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Leopoldo Alvarez
> General Manager - Tecnico Investigator
> Meteorology and Oceanographic Studies Institute
> Canary Islands - Spain
> E-mail: lalvarez at idemoc.com
> Tlfno: (+34) 600 253 237
> - - - - - - - - - - - - - - - - - - - - - - - - - - -


Hallak

Laboratório de Hidrometeorologia (LABHIDRO)
Departamento de Ciências Atmosféricas (DCA)
Instituto de Astronomia, Geofísica e Ciências Atmosféricas (IAG)
Universidade de São Paulo (USP)
Rua do Matão, 1226 - Cidade Universitária -São Paulo SP -05508-900
Fone.: +55 (0-XX-11) 3091-4735
Fax: +55 (0-XX-11) 3091-4714



More information about the gradsusr mailing list