/usr/share/octave/3.8.0/site/m/grdread.m is in octave-gmt 4.5.11-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | % GRDREAD Read matrix from a GMT grd-file
%
% Z = GRDREAD('filename') will return Z, the matrix stored in the
% GMT grdfile format.
%
% [Z,D] = GRDREAD('filename') will also return an array D that
% contains (xmin, xmax, ymin, ymax, zmin, zmax, format, xinc, yinc)
% for this data set. Format is 1 for pixel registration and 0 for
% grid node registration.
%
% [X,Y,Z] = GRDREAD('filename') will return the x and y arrays
% defining the grid as well as the data matrix Z.
%
% [X,Y,Z,D] = GRDREAD('filename') will return the x and y arrays,
% the data matrix Z, and the info vector D.
%
% See also GRDWRITE, GRDINFO
% $Id: grdread.m 9545 2011-07-27 19:31:54Z pwessel $
|