Matlab functions for writing and reading grids

I have found that grid formats in many software products are difficult to use. Here are some functions to help.

You are now following this Submission

These functions to read and write single or multidimensional gird typically used in geophysical work, but are useful in general. The grids are in a non-propietary GGG format. The full description is in the README.PDF, RTF or TXT files. The functions are:
function Params = gg_grdinfo(filnm);
function gg_wtgrd(filnm, G, X, Y, Z, Params);
function [G, X, Y, Z, Parms] = gg_rdgrd(filnm, lg_info);
Test data and programs, I/O grids, and statistical analysis are included.
Mark E. Odegard; GrizGeo, LLC; meo@grizgeo.com

Cite As

ODE (2026). Matlab functions for writing and reading grids (https://www.mathworks.com/matlabcentral/fileexchange/133342-matlab-functions-for-writing-and-reading-grids), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2020a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.0.0