Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

gmt_aliases.csh 837 B

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
  1. #
  2. # Copyright (c) 1991-2021 by the GMT Team (https://www.generic-mapping-tools.org/team.html)
  3. # See LICENSE.TXT file for copying and redistribution conditions.
  4. #
  5. # This script creates an alias for each GMT module which prepends the module
  6. # name with "gmt". For example: alias psxy "gmt psxy"
  7. #
  8. # Include this file in your GMT (t)csh script or on the command line with:
  9. # source `gmt --show-sharedir`/tools/gmt_aliases.csh
  10. # If the GMT executable is not in the search path, set an extra alias:
  11. # alias gmt path/to/gmt
  12. if (`command -v gmt` == "") then
  13. echo 'Error: gmt is not found in your search PATH.'
  14. exit 1
  15. endif
  16. set gmt_modules = (`gmt --show-classic`)
  17. set compat_modules = (minmax gmtstitch gmtdp grdreformat ps2raster originator)
  18. foreach module ( $gmt_modules $compat_modules )
  19. eval 'alias $module "gmt $module"'
  20. end
Tip!

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

Comments

Loading...