[gradsusr] Fwd: Non-numeric args to numeric operation

James T. Potemra jimp at hawaii.edu
Thu Jan 10 12:23:44 EST 2013


Estefanía:

If your script is exactly as below, the error is likely coming from your 
lack of quotes around the grads commands.  For example, you should have:

'open /data/climat_6190_2/media2_01.ctl'
'set display color white'
'c'

and so on.

Jim


On 1/10/13 3:30 AM, Estefanía Jiménez wrote:
>
>
> ---------- Forwarded message ----------
> From: *Estefanía Jiménez* <estefaniajimenez.r at gmail.com 
> <mailto:estefaniajimenez.r at gmail.com>>
> Date: 2013/1/9
> Subject: Non-numeric args to numeric operation
> To: GrADS Users Forum <gradsusr at gradsusr.org 
> <mailto:gradsusr at gradsusr.org>>
>
>
> Hi everyone! I am trying to run a script and I get this error on the 
> first line: *Non-numeric args to numeric operation. *I attach the .ctl 
> file and the script.
> I appreciate all possible solutions... thanks!
>
>
> open /data/climat_6190_2/media2_01.ctl
> set display color white
> c
> enable print Lluvia6190_01.gmf
> set gxout shaded
> set mpdset hires
> d prec*1000
> draw title Precipitación media 1961-1990 enero
> run /opt/grads30d/scripts/cbar.gs <http://cbar.gs>
> print
> disable print
> !/opt/grads30d/scripts/gxgif -r -i Lluvia6190_10.gmf -o Lluvia6190_01.gif
>
>
> -- 
> /Estefanía Jiménez R./
>
>
>
>
> -- 
> /Estefanía Jiménez R./
> Meteoróloga
> Departamento de Climatología e Investigaciones Aplicadas
> Instituto Meteorológico Nacional
> MINAET
> Tel: +506 2222 5616 ext 136
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130110/29c43604/attachment-0003.html 


More information about the gradsusr mailing list