You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to re-run a script I wrote a couple of months ago. Back then, I performed whittaker.raster (MODIS package version 0.10-18) on a 'RasterStack' consisting of GIMMS3g data (2000-2010; download from here) and everything worked just fine.
## load data into R
load("~/gimms_sample_data.RData")
## apply whittaker smootherrst_wht<-
whittaker.raster(rst_trm, timeInfo=org_gimms, lambda=6000, nIter=3,
removeOutlier=TRUE, threshold=0.2,
outDirPath="data/rst/GIMMS3g/whittaker", overwrite=TRUE)
Unfortunately, my code (remained the same except for 'outlierThreshold') doesn't seem to work properly with 0.10-33. The operation finishes without raising an error, but the resulting raster layers consist of values 0 and 1 only.
Fixed rounding issue with commit 4c7b88d. The reason for the observed behavior was that the former raster::dataType "FLT" is no longer available, but has been replaced e.g. with "FLT4S". See ?dataType for further information.
In order to solve this issue, the whittaker.raster function now tries to grep the "FLT" pattern in the corresponding data type of the provided 'vi' layers rather than checking for a fixed string, thus deactivating rounding when dealing with float data.
I'm trying to re-run a script I wrote a couple of months ago. Back then, I performed
whittaker.raster
(MODIS package version 0.10-18) on a 'RasterStack' consisting of GIMMS3g data (2000-2010; download from here) and everything worked just fine.Unfortunately, my code (remained the same except for 'outlierThreshold') doesn't seem to work properly with 0.10-33. The operation finishes without raising an error, but the resulting raster layers consist of values 0 and 1 only.
The text was updated successfully, but these errors were encountered: