Unable to read the .grd file using grdread2.m function
이전 댓글 표시
I am trying to read the attached 'file1.GRD' file using the code below. The function 'grdread2.m' is downloaded from MATLAB file exchange, as recommended in one fo the previous posts.
filename = 'file1.GRD';
[x,y,z] = grdread2(filename);
However, it is giving me errors listed below. Could someone help me?
Error using netcdf.open (line 52)
Could not open file 'Mintemp_MinT_2019.grd'.
Error in grdread2 (line 61)
ncid = netcdf.open(file, 'NC_NOWRITE');
Error in ReadnplotGRD (line 2)
[x,y,z] = grdread2(filename);
댓글 수: 4
Srivardhan Gadila
2021년 10월 4일
The function grdread2 (https://mathworks.com/matlabcentral/fileexchange/25683-grdread2) is one of the several submissions in MATLAB File Exchange on MATLAB Central, which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Hence I would suggest to contact the author of this submission directly for any questions related to it.
KSSV
2021년 10월 4일
You have not attched the said file.
Aarti Soni
2023년 5월 31일
I am having the same problem, can anyone help?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Standard File Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!