RasterBrick with 4078 daily chirps rainfall.

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")
lista<-list.files(path=getwd(), pattern="tif$")
cdd <- stack(lista)
new<- raster("brc.tif")

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)

[1] 1

so how can i do this raster brick?


Hi, welcome!

and when i want to extract information from bands i get all 0.

It's hard to tell whats going on with the information provided.

Any way you could pose this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

i would like to do a rasterbrick from 4078 chirps daily data. after runing brick function i am getting only 3078 bands. so why i lost 1000 bands.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.