grdwrite2

Uses built-in netCDF capability to write a grid file to be read by GMT (Generic Mapping Tools).
2,4K Downloads
Aktualisiert 19. Jul 2011

Lizenz anzeigen

GRDWRITE2(X,Y,Z,'file.grd') will create a grid file containing the data in the matrix Z. X and Y should be either vectors with dimensions that match the size of Z or two-component vectors containing the max and min values for each. The file will be a COARDS-compliant NetCDF file, the standard format for GMT version 4 and later.

Based on the compiled mexfile-based function grdwrite, part of the GMT supplemental packages.

For more information on GMT grid file formats, see:
http://www.soest.hawaii.edu/gmt/gmt/doc/gmt/html/GMT_Docs/node70.html

GMT (Generic Mapping Tools) was developed by Paul Wessel and Walter H. F. Smith (http://gmt.soest.hawaii.edu)

See also GRDREAD2, GRDINFO2

Zitieren als

Kelsey Jordahl (2026). grdwrite2 (https://de.mathworks.com/matlabcentral/fileexchange/26290-grdwrite2), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: grdread2

Version Veröffentlicht Versionshinweise
1.1.0.0

Change netcdf.create to use NC_SHARE option

1.0.0.0