grdwrite2

版本 1.1.0.0 (2.7 KB) 作者: Kelsey Jordahl
Uses built-in netCDF capability to write a grid file to be read by GMT (Generic Mapping Tools).
2.3K 次下载
更新时间 2011/7/19

查看许可证

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

引用格式

Kelsey Jordahl (2024). grdwrite2 (https://www.mathworks.com/matlabcentral/fileexchange/26290-grdwrite2), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: grdread2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Change netcdf.create to use NC_SHARE option

1.0.0.0