I hope every one is fine.
I have a 4078 daily chiprs rainfall data and i
would like to do a raster brick. but after running
brick function i lost 1000 data, and i am not able to see
the number of layer.
here is the code i used.
setwd("D:\Time Series\chirps\chirps\chirps\May2010\2008c")
library(raster)
lista<-list.files(path=getwd(), pattern="tif$")
cdd <- stack(lista)
brc<-brick(cdd)
new<- raster("brc.tif")
nlayers(new)
new[100]
and when i want to extract information from bands i get all 0.
class : RasterLayer
band : 1 (of 245 bands)
dimensions : 53, 66, 3498 (nrow, ncol, ncell)
resolution : 0.05, 0.05 (x, y)
extent : 66.55, 69.85, 34.55, 37.2 (xmin, xmax, ymin, ymax)
crs : +proj=longlat +datum=WGS84 +no_defs
source : D:/Time Series/chirps/chirps/chirps/May2010/2008c/brc.tif
names : brc
values : 0, 0 (min, max)
nlayers(new)
[1] 1
so how can i do this raster brick?
Regards