Write a mat file into netCDF file
16 ビュー (過去 30 日間)
古いコメントを表示
Deepa Maheshvare
2020 年 7 月 15 日
コメント済み: Deepa Maheshvare
2020 年 7 月 17 日
I have a mat file with time varying data obtained at different coordinate positions. The rows correspond to different
coordinate positions of a grid and columns correspond to diferent time points. I would like to
save this data in mat file to netCDF format. I would like to know how this conversion can be done.
0 件のコメント
採用された回答
Bhupendra Prajapati
2020 年 7 月 15 日
編集済み: Bhupendra Prajapati
2020 年 7 月 15 日
Data from the MATLAB workspace can be saved into the variable in the NetCDF file, using the netcdf.putVar function.
netcdf.putVar(ncid,varid,my_data);
For more information you can refer to the link below .
https://www.mathworks.com/help/matlab/import_export/exporting-to-network-common-data-form-netcdf-files.html?s_tid=answers_rc2-3_p6_MLT
その他の回答 (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!