By default, grids will be written as floating point data stored in binary files using the netCDF format and meta-data structure. This format is conform the COARDS conventions. GMT versions prior to 4.1 produced netCDF files that did not conform to these conventions. Although these files are still supported, their use is deprecated. To write other than floating point COARDS-compliant netCDF files, append the =id suffix to the filename outgrdfile.
When reading files, grdreformat and other GMT programs will automatically recognize any type of netCDF grid file. These can be in either COARDS-compliant or pre-4.1 format, and contain floating-point or integer data. To read other types of grid files, append the =id suffix to the filename ingrdfile. | | id | GMT 3 netCDF legacy formats | | | cb | GMT netCDF format (byte) (deprecated) | | | cs | GMT netCDF format (short) (deprecated) | | | ci | GMT netCDF format (int) (deprecated) | | | cf | GMT netCDF format (float) (deprecated) | | | cd | GMT netCDF format (double) (deprecated) | | | id | GMT native binary formats | | | bm | GMT native, C-binary format (bit-mask) | | | bb | GMT native, C-binary format (byte) | | | bs | GMT native, C-binary format (short) | | | bi | GMT native, C-binary format (int) | | | bf | GMT native, C-binary format (float) | | | bd | GMT native, C-binary format (double) | | | id | GMT 4 netCDF standard | | | nb | GMT netCDF format (byte) (COARDS-compliant) | | | ns | GMT netCDF format (short) (COARDS-compliant) | | | ni | GMT netCDF format (int) (COARDS-compliant) | | | nf | GMT netCDF format (float) (COARDS-compliant) [DEFAULT] | | | nd | GMT netCDF format (double) (COARDS-compliant) | | | id | Misc formats | | | rb | SUN rasterfile format (8-bit standard) | | | rf | GEODAS grid format GRD98 (NGDC) | | | sf | Golden Software Surfer format 6 (float) | | | sd | Golden Software Surfer format 7 (double, read-only) | | | af | Atlantic Geoscience Center format AGC (float) | | | gd | Import through GDAL (convert to float) -- NON-STANDARD |
|