How can I read half of a 3-D matrix variable from a netCDF file?

1 回表示 (過去 30 日間)
Victoria K
Victoria K 2022 年 9 月 12 日
I have a variable from a netCDF file that is 1024x1024x4284. Using ncread, it is too large to import at once, so I want to split it in half and import the two halves separately. How can I do this?
I have tried using ncread:
I believe this gives me the first layer, but how can I modify this so I can get a 3-D matrix of 1024x1024x2142?

回答 (0 件)


Help Center および File ExchangeNetCDF についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by