search for: rasterc

Displaying 2 results from an estimated 2 matches for "rasterc".

Did you mean: raster
2017 Dec 07
2
parallel computing with foreach()
...me(prsabs = rep(1, 10), lon = rep(30, 10), lat = rep(80, 10)) myResp = as.numeric(DataSpecies[,1]) myRespXY = DataSpecies[, c("lon", "lat")] # directory of a bunch of raster files specific to each R environment rastdir <- paste0(rootdir, "Current/", myTorP); rastdir rasterc = list.files(rastdir, pattern="\\.tif$", full.names = T) print(rasterc) myExplc = stack(rasterc, RAT=FALSE) } I get the following error message that most likely generates while stacking rasters because there are 25 rasters in the folder of each environment. Also, in the normal for loop,...
2017 Dec 07
0
parallel computing with foreach()
...rep(30, 10), lat = > rep(80, 10)) > myResp = as.numeric(DataSpecies[,1]) > myRespXY = DataSpecies[, c("lon", "lat")] > # directory of a bunch of raster files specific to each R environment > rastdir <- paste0(rootdir, "Current/", myTorP); rastdir > rasterc = list.files(rastdir, pattern="\\.tif$", full.names = T) > print(rasterc) > myExplc = stack(rasterc, RAT=FALSE) > } > > I get the following error message that most likely generates while stacking > rasters because there are 25 rasters in the folder of each environment. &...