View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
grdinfo2

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 2.96 KB File ID: #26289 Version: 1.0

grdinfo2

by

Kelsey Jordahl (view profile)

 

Uses built-in netCDF capability to display information about a grid file created by GMT v3 or v4.

| Watch this File

File Information
Description

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

Acknowledgements

Grdread2 inspired this file.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us