R raster stack 4 dimensions

المشرف العام

Administrator
طاقم الإدارة
I am trying to create a raster stack / brick from a list of ncdf files with the dimensions 160x160x24x1).

r = stack(files) This gives me a raster stack but without the 4th dimensions which is required in the output ncdf file even when the dimension is 1.

Currently I am creating an array and filling in the raster stack and writing the output file via the ncdf package.

data1
 
أعلى