jack_stepeny Posted August 26, 2016 Report Share Posted August 26, 2016 (edited) Actually I want to use R STL (Seasonal Trend Decomposition by LOESS) function on each pixel of MODIS Time Series. Currently I am able to run STL on single pixel value which is being read from a csv file. I don't know how to loop over each pixel and get the output in three rasters say raster 1 for trend, raster 2 for seasonal component and raster 3 for remainder. Any help in this regard will be appreciated Edited August 26, 2016 by jack_stepeny Quote Link to comment Share on other sites More sharing options...
quijote Posted August 27, 2016 Report Share Posted August 27, 2016 Can you post your code? This way we can see how you're handling your data. If not, have a look at the apply functions in R (apply, sapply, lapply, etc.). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.