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!