[gradsusr] Nino3.4 Attachment included this time
Corey Gabriel
cjgabriel7 at gmail.com
Thu Apr 17 13:29:19 EDT 2014
Dear Grads Community:
I am attempting to remove a linear trend from several time series. (Figure
attached). I have tried many things, and I wrote a small block of
similar code that I am using to try to draw the linear trend line.
Any assistance would be greatly appreciated,
Thanks,
Corey
1. set y 1
2. set z 1
3. set t 1 1753
4. define var1 = aave(sst, lon=-5, lon=5, lat=190, lat=240)
5. define var2= ave(var1,t+0,t=1872,12))
6. d tregr(var1, var2, t=1, t=1753) [Result is the coefficient)
7. define coeff = tregr(var1, var2, t=1, t=1753)
8. d coeff * (var1- var2) + var2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140417/011c3bc5/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CF66052.gif
Type: image/gif
Size: 19765 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140417/011c3bc5/attachment-0001.gif
More information about the gradsusr
mailing list