Write a mat file into netCDF file

조회 수: 28 (최근 30일)
Deepa Maheshvare
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.

채택된 답변

Bhupendra Prajapati
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
  댓글 수: 1
Deepa Maheshvare
Deepa Maheshvare 2020년 7월 17일
Could you please have a look at this post?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by