[gradsusr] Grads variable script
Davide Sacchetti
davide.sacchetti at arpal.gov.it
Fri Sep 14 08:35:01 EDT 2012
'set t ' t1 t2
is wrong
'set t ' t1' 't2
is correct
bye bye
Davide
On Fri, 2012-09-14 at 14:30 +0200, Paco Pastor wrote:
> Hi Grads users
>
> I'm trying to write a script to create a series of graphs but find an
> error when using variables. Maybe it is just a simple syntax error,
> hope you can help me.
>
> The script runs (gradsc -blc "./script.gs file.ctl") if I use
>
> 'set t 12 72'
>
> but fails when setting time interval (changing in a loop)
>
> t1=12
> t2=72
>
> 'set t ' t1 t2
>
> The error message then is
>
> Data Request Warning: Request beyond file limits
>
> which I assume it means that t1 t2 are not being read.
>
> Any idea?
>
> Grads version is Version 1.8SL11 (installed in a working environment so
> I prefer not to change)
>
> Thanks in advance
>
--
--> Attenzione cambio indirizzo: davide.sacchetti at arpal.gov.it
--
Davide Sacchetti
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria
ARPAL Unità Tecnica Complessa di livello Regionale
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535 fax: +39 010 6437520
mail: davide.sacchetti at arpal.gov.it web: www.meteoliguria.it
More information about the gradsusr
mailing list