How to read .grd file?
26 views (last 30 days)
Show older comments
shivani badodiya
on 20 Sep 2018
Commented: shivani badodiya
on 20 Sep 2018
I want to read .grd file.I used grdread2,arcgridread,grdinfo2,but this all functions are throwing error of undefined function.I also used ncread but it is throwing error which is Error using netcdflib Unable to open file. File may be corrupt or filename may have invalid characters.
0 Comments
Accepted Answer
KSSV
on 20 Sep 2018
Try this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/25683-grdread2. I suspect your .grd file is an ascii file. If not working attch your file.
3 Comments
KSSV
on 20 Sep 2018
I tried to check with netCDF, mirone, GDAL, GIS softwares with no success. GMT recognized the file. If you know the format of file, you can use fread fundtion of MATLAB. I checked that fread is able to get the file.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!