Do anyone know how to read ".nc" data?
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear mathcoders, I have been searching how to read a file downloaded from Copernicus its extension is .nc I was attempting to deal it with ncread, but I am not sure of the procedure, could you give me a workaround to handle this?
vardata = ncread('data_prueba','varname')
Error using internal.matlab.imagesci.nc/openToRead (line 1274)
Could not open data_prueba for reading.
Error in internal.matlab.imagesci.nc (line 121)
this.openToRead();
Error in ncread (line 61)
ncObj = internal.matlab.imagesci.nc(ncFile);
댓글 수: 0
답변 (1개)
EmirBeg
2021년 6월 16일
Try adding the .nc in your filename.
vardata = ncread('data_prueba.nc','varname');
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!