stack rasters with different extent and resolution in a loop with R package raster

المشرف العام

Administrator
طاقم الإدارة
I would like to stack rasters with the R package "raster". Layers are in ascii format. I want to crop them to have the same extent and project them to have the same resolution. My code gives raster layers with empty values. Any help would be appreciated.

#The layers must have a similar extent and projection. We will first crop them all to the same extent.#Read files found in the working directory containing *.ascraster_data
 
أعلى