Re: Seasonal Variation in Trend Analysis [message #56052 is a reply to message #56049] |
Fri, 28 September 2007 07:34   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
wita writes:
> You may want to have a look at the IDL implementation of the HANTS
> (Harmonic Analyses of NDVI Time Series) algorithm I wrote. The code is
> available at: http://www.ittvis.com/codebank/search.asp?FID=333
>
> Basically HANTS searches for the seasonality rather then removing it,
> but the principle is the same.
Thank you. This is very helpful.
When I initially ran the example program in cgi_fftndvi.pro
I got thrown into an infinite loop. I killed the process and
moved the CATCH, /CANCEL in your error handler to the *first*
line after the CATCH, and then the program ran perfectly.
To test, I set it back where it was before, and the program
*still* ran fine! So, I don't know what that is all about.
But I do feel more comfortable having that CANCEL as the
first line after a CATCH to avoid these kinds of problems. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|