How to import a set of NetCDF Files?
3 ビュー (過去 30 日間)
古いコメントを表示
Hallo, Does someone know how to import a complete Dataset of NetCDF files. I have 54 files representing the sea levels from 1948 to 2011. so far I know how to read one file with ncread but I couldnt't find out how to import the entire set of the files.
0 件のコメント
採用された回答
KSSV
2018 年 11 月 8 日
ncfiles = dir('*.nc') ; % you are in the folder where nc files are present
N = length(ncfiles) ; % number of files
% loop for each file
for i = 1:N
thisfile = ncfiles(i).name;
% load the data and do what you want
end
4 件のコメント
CHANG XV
2019 年 11 月 14 日
Have you sorted out this problem? I encounter the same problem this days. I have no idea about that. Thanks !
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で NetCDF についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!