Maybe something along this line…..assuming I understood the problem properly
for (i in 1:nlayers(stackr)) {
layer <- stackr[[i]] # get a layer from the stack
ID_layer<- 1:ncell(layer[[1]]) # create cell ids for the layer
for (j in 1:nrow(tablem)) {
x <-
FYI The link that Mike provided is for ocean color products the GLASS land
products use a different grid…see this link.
https://modis-land.gsfc.nasa.gov/MODLAND_grid.html
K
On Nov 29, 2018, at 3:16 PM, Michael Sumner
mailto:mdsum...@gmail.com>> wrote:
To answer the "Any ideas on why
Hi;
The reason you are getting that error message is you are trying to plot a 1
dimension array by a 2 dimensional array.
I think simply adding the argument fun = mean to your extraction of the
RCP1pctCO2Mean brick will solve the confusion.
As you have it written you are extracting 196 grid