Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  git github
Florian Wobbe be63c2a016
Tagging release 5.1.2
10 years ago
925c397668
Freeze release 5.1.2.
10 years ago
doc
a126dfcb3e
Correct description of the MBA for the removal of the -A option. Now we make use of scale/offset.
10 years ago
f50373dcc5
Fix typo in blue at end of wysiwyg.cpt
10 years ago
src
eaccabd3b7
Fix incorrectly passing data parameter to GMT_Create_Data is a file name instead of NULL
10 years ago
eb4c8af3d9
Fix psimage message
10 years ago
6163919309
Fix config.h generation per Florian's suggestion
10 years ago
d9c8e97085
Update license information
13 years ago
d9c8e97085
Update license information
13 years ago
fa4db19d1a
Embed animation using HTML5 video-tag.
10 years ago
76f37804a7
Remove unnecessary gshhg endianess check.
11 years ago
87e637ef16
Getting ready for gshhg 2.3.4
10 years ago
44c7b75b6b
Getting ready for 2015
10 years ago
16f90ac9db
Needed to reset bool variable before 2nd loop over legend items
11 years ago
7491cc5303
Use bash and prefix gmt modules with "gmt".
11 years ago
Storage Buckets

README

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
  1. $Id$
  2. == Information for installing GMT 5 ==
  3. Note: The build system has recently been switched to CMake which is a
  4. cross-platform system for managing the build process. If you are familiar
  5. with the old GNU Build Tools (automake, autoconf, and configure) you can
  6. probably skip over to the CMake quick start guide in README.CMake.
  7. Introduction
  8. ------------
  9. You do not need to read these instructions unless you plan to build and
  10. install the programs manually.
  11. GMT has been installed successfully under UNIX/Linux/OS X on workstations. It
  12. also installs under Windows and in UNIX emulators such as Cygwin or on virtual
  13. machines. We anticipate few problems if you are installing the package on
  14. other platforms.
  15. Note there are three GMT tar archives available (#3 is optional):
  16. 1. gmt-5.x.x.tar.bz2: The GMT 5 distribution
  17. 2. gshhg-gmt-2.x.x.tar.gz: All five resolutions of GSHHG coastline data
  18. 3. dcw-gmt-1.x.x.tar.bz2: Digital Chart of the World polygon data
  19. The archives are available in bzip2 (*.bz2) and gzip (*.gz) formats.
  20. If you do not have bzip2 installed you can obtain source or executables
  21. from http://www.bzip.org.
  22. For Windows users there are separate Windows installers available; this
  23. discussion only considers UNIX/Linux/OS X installations. Windows users who
  24. which to build GMT from the sources refer to README.WIN32.
  25. CMake
  26. -----
  27. Install CMake (>=2.8.5) from http://www.cmake.org/cmake/resources/software.html
  28. Install netCDF library
  29. ----------------------
  30. For all major Linux distributions there are prepackaged development binaries
  31. available. netCDF is also available on MacOSX trough the macports and fink
  32. package managers.
  33. Otherwise, get netCDF from http://www.unidata.ucar.edu/downloads/netcdf/.
  34. You need at least version 4.0 with netCDF-4/HDF5 data model support (do not
  35. disable HDF5/ZLIB in netCDF with --disable-netcdf-4).
  36. GDAL (optional)
  37. ---------------
  38. To use the GDAL interface (ability to provide grids or images to be imported
  39. via gdal) you must have the GDAL library and include files installed. Like
  40. netCDF, GDAL is available through your favorite package manager on many *NIX
  41. systems.
  42. Install support data
  43. --------------------
  44. You can obtain GMT from http://gmt.soest.hawaii.edu/. Alternatively you may
  45. get GMT from any of the following FTP sites. Try the site that is closest to
  46. you to minimize transmission times:
  47. Site FTP address
  48. --------------------------------------------------------------
  49. SOEST, U. of Hawaii ftp.soest.hawaii.edu
  50. Lab for Satellite Altimetry, NOAA ibis.grdl.noaa.gov
  51. IRIS, Washington, US ftp.iris.washington.edu
  52. IAG-USP, U. of Sao Paulo, BRAZIL ftp.iag.usp.br
  53. Dep. Geology, U. in Oslo, NORWAY ftp.geologi.uio.no
  54. ISV, Hokkaido U, Sapporo, JAPAN ftp.eos.hokudai.ac.jp
  55. GDS, Vienna U. of Technology, AUSTRIA gd.tuwien.ac.at
  56. TENET, Tertiary Education & Research Networks, SOUTH AFRICA
  57. gmt.mirror.ac.za
  58. The development sources are available from the subversion repository at
  59. svn://gmtserver.soest.hawaii.edu/gmt5/trunk
  60. Extract the files and put them in a separate directory (need not be
  61. where you eventually want to install GMT).
  62. Configuring
  63. -----------
  64. GMT can be build on any platform supported by CMake. CMake is a
  65. cross-platform, open-source system for managing the build process.
  66. Refer to README.CMake for further details. In the source tree copy
  67. cmake/ConfigUserTemplate.cmake to cmake/ConfigUser.cmake and edit
  68. the file according to your demands.
  69. By default, GMT will use Dave Watson's Delaunay triangulation routine.
  70. However, a much faster alternative is available from Jonathan Shewchuk, but
  71. his routine is not distributed under the GNU Public License. If you work for
  72. a for-profit organization you should read Shewchuk's copyright statement (in
  73. src/triangle.c) first. If you agree with the license terms you can enable
  74. Shewchuk's triangulation routine in cmake/ConfigUser.cmake.
  75. At run-time, GMT will initialize all default variables by reading the
  76. share/gmt.conf. Although strongly discouraged, if you want to make permanent
  77. changes to some of the defaults you can edit the share/gmt.conf file directly.
  78. A much better approach is to create a gmt.conf file in your home directory
  79. and edit those settings since GMT will check for that file before loading
  80. system defaults (actually, it will first look in the current directory, then
  81. the home directory, and then finally in share). See the gmt.conf man page
  82. for a description of all defaults.
  83. To prevent two GMT processes writing to the same gmt.conf file simultaneously
  84. (thereby corrupting it), GMT can implement the POSIX advisory file locking
  85. scheme and sets and releases locks on these files. This might not be reliable
  86. when the files reside in directories on network filesystems, such as NFS.
  87. Whether flock works on network filesystems is implementation dependent. If
  88. you want to activate file locking you may enable it in cmake/ConfigUser.cmake.
  89. By default, both GMT and all its supplements are built. You can turn
  90. off all supplements via the BUILD_SUPPLEMENTS setting in ConfigUsers.cmake
  91. The top-level installation directory is configured with the variable
  92. CMAKE_INSTALL_PREFIX.
  93. Now that you made your configuration choices it is time for invoking CMake.
  94. Create a subdirectory where the build files will be generated, e.g., in the
  95. source tree 'mkdir build'.
  96. In the build subdirectory, type
  97. cmake [options] ..
  98. Append any of the options explained above as you see fit. If CMake cannot
  99. figure out all the dependent libraries or required compiler and linker flags
  100. it will give you a message and you will be asked to edit
  101. cmake/ConfigUser.cmake.
  102. Build GMT
  103. ---------
  104. In the build directory, type
  105. make
  106. which will compile all the programs. After a successful compilation you may
  107. install the executables in the designated bin directory with the command
  108. make install
  109. After a successful install you can have the object files and the local
  110. executables removed by saying
  111. make clean
  112. or just remove the entire build directory.
  113. Documentation
  114. _____________
  115. The documentation is available online at http://gmt.soest.hawaii.edu/
  116. or as platform independent package that you can install along with GMT.
  117. The GMT documentation includes HTML files for online browsing, user guide,
  118. cookbook, and manual pages. The Documentation also contains the
  119. GMT_Tutorial.pdf file which is a short course in how to use GMT. It can be
  120. ^^^^^^^^^^^^^^^^
  121. still missing!
  122. followed individually or in a lab setting by a group of users.
  123. The development sources from subversion do not contain the precompiled
  124. documentation. The manuals, HTML pages, and PDFs have to be created from
  125. source with Sphinx (see README.CMake).
  126. Set path
  127. --------
  128. Make sure users set their PATH to include the directory containing
  129. the GMT executables (BINDIR) if this is not a standard directory
  130. like /usr/local/bin. You should now be able to run GMT programs.
  131. GMT supplemental Code
  132. ---------------------
  133. GMT users elsewhere have developed programs that utilize the GMT libraries and
  134. produce PostScript code compatible with the rest of GMT or simply perform data
  135. manipulation. In addition, misc. code developed by us depend on GMT
  136. libraries. Currently, the supplemental archive include the directories:
  137. gshhg - Data extractor for GSHHG shoreline polygons and rivers, borders.
  138. img - Data extractor for Smith/Sandwell altimetry grids.
  139. meca - Plotting of focal mechanisms, velocity arrows,
  140. and error ellipses on maps.
  141. mgd77 - Programs for handling of native MGD77 files.
  142. misc - dimfilter
  143. potential - geopotential manipulations
  144. segyprogs - Plotting SEGY seismic data sets.
  145. spotter - Plate tectonic & kinematics applications.
  146. x2sys - Track intersection (crossover) tools.
  147. Misc
  148. ----
  149. Before running programs, there are a few things you should do/know:
  150. - Read carefully the documentation for the gmt system. This can be
  151. found as both PDF and HTML files in the doc/pdf|html directories.
  152. The successful operation of gmt-programs depends directly on your
  153. understanding of how gmt "works", its option lists, I/O, and composite
  154. plot mechanisms. Then, before running individual gmt programs, read
  155. the associated man page.
  156. A reminder
  157. ----------
  158. If you think it is appropriate, you may consider paying us back by including
  159. our latest EOS article (Wessel, P., W. H. F. Smith, R. Scharroo, J. F. Luis,
  160. and F. Wobbe (2013), Generic Mapping Tools: Improved version released, Eos
  161. Trans. AGU, 94(45), 409-410, doi:10.1002/2013EO450001) in the reference list
  162. of your future publications that will benefit from the availability of GMT.
  163. Software support
  164. ----------------
  165. You haven't bought anything so you cannot expect full service. However, if
  166. you find a bug in any of the programs, please report it to us
  167. (http://gmt.soest.hawaii.edu/) rather than trying to fix it yourself so that
  168. we, and through us, other users may benefit from your find. Make sure you
  169. provide us with enough information so that we can recreate the problem.
  170. In addition to the bug tracking feature (New Issues) on the website, you
  171. can also post general questions on the GMT user forum. Note that registration
  172. is required to post on the site.
  173. Ordering the GMT package on CD/DVD-Rs
  174. -------------------------------------
  175. Should you or someone you know without net-access need to obtain GMT:
  176. Geoware makes and distributes CD/DVD-Rs with the GMT package and many
  177. useful data sets. For more details and a full description of the data
  178. sets (up to 60 Gb of data!) visit http://www.geoware-online.com/.
  179. Good luck!
  180. The GMT Team.
  181. vim: tw=78 et ts=2 sts=2 sw=2 autoindent smartindent
Tip!

Press p or to see the previous file or, n or to see the next file

About

A mirror of my fork of the GMT repository

Collaborators 1

Comments

Loading...