grdinfo2
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 (2024). grdinfo2 (https://www.mathworks.com/matlabcentral/fileexchange/26289-grdinfo2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > NetCDF >
Tags
Acknowledgements
Inspired by: grdread2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |