Re: [R-sig-Geo] Processing best quality MODIS pixels only (MODIS package)

2015-05-22 Thread Amit Boshale via R-sig-Geo
Dear Matteo, I just found out something interesting. As I mentioned in my previous email, I tried the code you proposed and could see the diffference from the old code, basically a smoother plot. However, the plot didn't change corresponding to differenct quality thresohold (1, 2, 3, 4 and 5).

Re: [R-sig-Geo] Processing best quality MODIS pixels only (MODIS package)

2015-05-20 Thread Amit Boshale via R-sig-Geo
Dear Matteo, Many thanks for the help!  I just tried it on a small raster stack and it worked. The resulting time series looks better. I will keep trying with other threshold values(2,3,etc.)to compare the resulting graphs for improved visual interpretation.  Best,Amit Matteo Mattiuzzi

Re: [R-sig-Geo] Processing best quality MODIS pixels only (MODIS package)

2015-05-19 Thread Matteo Mattiuzzi
Dear Amit, Thats correct, if you want to use only pixel of quality you have to set 0 as threshold (everything > than threshold is set to 0 weight). But for what I remember, and this might explains your result with all 0s, is that does not exist in MODIS data despite the fact that it is

[R-sig-Geo] Processing best quality MODIS pixels only (MODIS package)

2015-05-19 Thread Amit Boshale via R-sig-Geo
Hello! I use MODIS package to smooth MODIS NDVI raster time series. Just wanted to try how would it look like if I used the best qulity pixels only.makeWeights function took about two days and resulted in raster stack of zeros. According to MODIS, the best qulity is 0, hence I used 0 as the thr