convert cell to 3d matrix
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
KSSV
2018 年 7 月 2 日
You are accumulating all the series in workspace......don't do it.....write the data into a netCDF file in a loop.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!