I have around 184 .img image files per year. Their name is like these:
mod11a1_2009-03-30.lst_day_1km.img
mod11a1_2009-03-31.lst_day_1km.img
mod11a1_2009-04-01.lst_day_1km.img
. . .
I am going to put all of those .img files, into 1 stack image with the same format:
mod11a1_2009_lst_day_1km.img
And generate the final stack image as an .img file in my working directory.
I wonder if someone could help me to do so, using R programming language. As I am new in R, I would be very grateful if you could help me in detail.
FYI: I am using R-Studio. My working directory is 'M:/2009_stack'