On tcorr and tregr functions

Sajjad Saeed sajjad_met at HOTMAIL.COM
Thu Oct 22 05:40:03 EDT 2009


Hi Hyacinth
You first define the time series e.g.,
set t 1 100
define ts= <variable>
then use
d tcorr(ts,sst,t=1,t=100)

Hope this will work

Best
Sajjad

******************************************************************************

Sajjad Saeed
Max Planck Institute for Meteorology,
Bundestrasse 53, 20146 Hamburg, Germany.




> Date: Thu, 22 Oct 2009 17:31:27 +0800
> From: hc.nnamchi at LASG.IAP.AC.CN
> Subject: On tcorr and tregr functions
> To: GRADSUSR at LIST.CINECA.IT
> 
> Dear colleagues,
> I am trying to calculate the  correlation coefficients between a time series and global SST
> using the tcorr function (http://www.iges.org/grads/gadoc/gradfunctcorr.html).But the function does not work.The tregr does not also work.
> 
> 'open d:\analysis\EOF\eof_series1.ctl’"single time series:t=1,t=57; x=y=z= 1"
> 'open d:\analysis\DATA\winter_sst.ctl’"global: lon 0 360, lat -90 90; t=1,t=57,z=1"
> 
> 'set y 1'
> 'set z 1'
> 'set t 1 57'
> 'set lon -180 180'
> 'set lat -90 10'
> 'set z 1'
> 'set t 1'
> 'set gxout contour'
> 
> 'd tcorr(series.1,winter.2,t=1,t=57)'
> 
> If I define an index  using the SST data (as in the documentation, above) it works and give reliable result.
> 
> Any ideas on what I've been doing wrong?
> 
> Thanks,
> hyacinth
                                          
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091022/4edf149c/attachment.html 


More information about the gradsusr mailing list