Unable to read the .grd file using grdread2.m function
Afficher commentaires plus anciens
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 commentaires
Srivardhan Gadila
le 4 Oct 2021
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
le 4 Oct 2021
You have not attched the said file.
Aarti Soni
le 31 Mai 2023
I am having the same problem, can anyone help?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Standard File Formats dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!