[gradsusr] Correlation in particular time

Davide Sacchetti davide.sacchetti at arpal.gov.it
Fri Nov 30 07:41:33 EST 2012


are the "quotes" placed correctly in the script?
Anyway the attached script should work ...
in case it didn't send a mail with the output of query config

bye bye
Davide

On Fri, 2012-11-30 at 11:59 +0000, Tidiane Diedhiou wrote:
> i'm have using sublin() in a script but i get the same  error.
> thanks dear
> 
> 
> 2012/11/30 Davide Sacchetti <davide.sacchetti at arpal.gov.it>
>         sublin and similars are available only in script
>         environment ...
>         hoping it helps
>         
>         bye
>         Davide
>         
>         
>         On Fri, 2012-11-30 at 10:27 +0000, Tidiane Diedhiou wrote:
>         > Dear all,
>         > I 'm trying to us "sublin() " in grads but i get some error.
>         > this is the error i get when i run "sublin"
>         >
>         > q dim
>         > Default file number is: 1
>         > X is varying   Lon = -29.9939 to 39.998   X = 1 to 1925
>         > Y is varying   Lat = -4.96666 to 39.9698   Y = 1 to 1236
>         > Z is fixed     Lev = 0  Z = 1
>         > T is fixed     Time = 06Z31AUG2009  T = 61
>         > E is fixed     Ens = 1  E = 1
>         > ga-> rec=sublin(result,2)
>         > Syntax Error:  Invalid Operand
>         >   'sublin' not a variable or function name
>         >   Error ocurred at column 1
>         > DEFINE error:  Invalid expression.
>         >
>         >
>         >
>         >
>         >
>         >
>         > 2012/11/30 Rusmawan Suwarman <rusmedong at yahoo.co.uk>
>         >         Dear all,
>         >         GradS user
>         >
>         >
>         >         Today, I want to correlate the SST in particular
>         area to
>         >         precipitation for all globe are using tcorr command.
>         However
>         >         the problem is that what I want is only in
>         particular years
>         >         and months, randomly. Let say, it is for only DJF
>         for El-Nino
>         >         years, La-Nina years, or normal years. My idea is
>         that those
>         >         particular time should be collected in one variable
>          for both
>         >         SST and precipitation. but how to collect them to be
>         a spatial
>         >         time series? Do you have any idea, what command can
>         be used?
>         >
>         >
>         >         Thank you
>         >         Best,
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >         Rusmawan Suwarman
>         >
>         >
>         >         ---------------------------------------------
>         >
>         >
>         >         Doctoral Students
>         >         Graduate School of Sciences and Technology
>         >         Kumamoto University
>         >
>         >         _______________________________________________
>         >         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
>         
>         --
>         --> 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
>         
>         
>         _______________________________________________
>         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

-- 
--> 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
-------------- next part --------------
'q dims'
rec=sublin(result,2)
say rec


More information about the gradsusr mailing list