-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmeta.yaml
94 lines (87 loc) · 2.56 KB
/
meta.yaml
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
{% set version = "6.5.0" %}
package:
name: gmt
version: {{ version }}
source:
url: https://github.com/GenericMappingTools/gmt/releases/download/{{ version }}/gmt-{{ version }}-src.tar.gz
sha256: b17e165fd6c85aeb0a281700bd89522af8c2676a2d7bdb51a6b242fa9f1779c9
patches:
# Patches for GMT 6.5.0
- lapack.patch
- gmtlogo.patch
build:
number: 7
requirements:
build:
- cmake
- {{ compiler('c') }}
- {{ stdlib("c") }}
- make # [not win]
host:
- libblas
- libcblas
- liblapack
- fftw
- gdal
- geos
- glib
- ghostscript
- libnetcdf
- hdf5
- zlib
- curl
- pcre
- gshhg-gmt
- dcw-gmt
run:
- libblas
- libcblas
- liblapack
- {{ pin_compatible('fftw', max_pin='x') }}
- {{ pin_compatible('gdal', max_pin='x.x') }}
- geos
- ghostscript
- libgdal-jp2openjpeg
- libnetcdf
- hdf5
- {{ pin_compatible('zlib', max_pin='x.x') }}
- {{ pin_compatible('curl', max_pin='x') }}
- pcre
- gshhg-gmt # [not win]
- dcw-gmt # [not win]
test:
commands:
# Test plotting basemap with coastlines
- gmt defaults -Vd
- gmt psbasemap -R10/70/-3/8 -JX4i/3i -Ba -B+glightred+t"TEST" -P -Vd > test0.ps
- gmt pscoast -R0/10/0/10 -JM6i -Ba -Ggray -ENG+p1p,blue -P -Vd > test1.ps
- gmt begin -Vd
- gmt coast -R0/10/0/10 -JM6i -Ba -Ggray -ENG+p1p,blue -Vd
- gmt end
# Test OpenMP multi-core with -x2
- gmt-config --all # [not win]
- gmt # [win]
- gmt grdmath -Rg -I1 0 90 SDIST = dist_to_NP.nc -x2
# Test reading/writing a JP2 file (S90E000.earth_relief_05m_p.jp2)
- gmt grdcut @earth_relief_05m -R-10/-9/3/5 -Greliefcut.jp2=gd:JP2OpenJPEG
- "[ -e 'reliefcut.jp2' ] && exit 0 || exit 1"
about:
home: https://www.generic-mapping-tools.org
doc_url: https://docs.generic-mapping-tools.org
dev_url: https://github.com/GenericMappingTools/gmt
license: LGPL-3.0-or-later
license_file: LICENSE.TXT
summary: The Generic Mapping Tools.
description: |
GMT is an open source collection of about 80 command-line tools for
manipulating geographic and Cartesian data sets (including filtering,
trend fitting, gridding, projecting, etc.) and producing PostScript
illustrations ranging from simple x–y plots via contour maps to
artificially illuminated surfaces and 3D perspective views; the GMT
supplements add another 40 more specialized and discipline-specific
tools. GMT supports over 30 map projections and transformations
extra:
recipe-maintainers:
- ocefpaf
- leouieda
- seisman