convert cell to 3d matrix
1 view (last 30 days)
Show older comments
Hi, I have a data set which are world images (9km resolution) in daily time series. Cell size of 3856x1624 and 1180 time series. I want to reduce the cell size to 360 x180 (1 degree) and form it to 360x180x1180. I have tried imresize and reshape to obtain my desired data size. This works well for only one file but using the whole data set I get an error (exceeds the 27.5 GB...). In addition, using, for instance, 3 or 30 files and a loop I could obtain my result but it was distorted. For example, using 3 files and "imagesc" I can see that the whole image was divided into the 3 images. imagesc(x(:,:,1) I could see higher latitudes; imagesc(x(:,:,3) I could see lower latitudes.
Any help is appreciated.
1 Comment
KSSV
on 2 Jul 2018
You are accumulating all the series in workspace......don't do it.....write the data into a netCDF file in a loop.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!