You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
GRDINFO2('file.grd') will display information about the GMT grid file 'file.grd' in a format similar to the gmt command grdinfo.
D = GRDINFO('file.grd') will in addition return a vector containing (xmin, xmax, ymin, ymax, zmin, zmax, format, xinc, yinc). Format is 1 for pixel registration and 0 for grid node registration.
Similar to the GMT command 'grdinfo', and based on the compiled mexfile-based function grdinfo.m, part of the GMT supplemental packages.
See also GRDREAD2, GRDWRITE2
Cite As
Kelsey Jordahl (2026). grdinfo2 (https://se.mathworks.com/matlabcentral/fileexchange/26289-grdinfo2), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: grdread2
General Information
- Version 1.0.0.0 (2.96 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
