gmt 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gmt/gmt.c +8 -0
- data/lib/gmt.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c3d9adf57be499c296fab1aa6c6c23d1001d17709f96c0cfc62d5a3fa344a66
|
4
|
+
data.tar.gz: e51bafc40060577b2bc98a376dcc23b863e586697122e28335582ac0ffea522b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29d50bccf9a8868617653da560a520e2af073e81dcd8a99e75086f4108abfd6516f4a08073cadad8d78b60687434c06032299708b5dac9c674a09c2b5fdf9ed1
|
7
|
+
data.tar.gz: 8f57a9db15bd3a1d5afbd899af330632e6fc72fec26c64c5ba64781ec939d42cc502a07b9d373ce02e1874e423d607dab608735d155b360130a66c81a3746ec4
|
data/ext/gmt/gmt.c
CHANGED
@@ -203,6 +203,10 @@ GMT_FUN(gmtinfo)
|
|
203
203
|
GMT_FUN(gmtset)
|
204
204
|
GMT_FUN(grdinfo)
|
205
205
|
|
206
|
+
#if API_AT_LEAST(6, 3, 0)
|
207
|
+
GMT_FUN(grdselect)
|
208
|
+
#endif
|
209
|
+
|
206
210
|
/* Mathematical operations on tables or grids */
|
207
211
|
|
208
212
|
GMT_FUN(gmtmath)
|
@@ -370,6 +374,10 @@ void Init_gmt(void)
|
|
370
374
|
RB_DPM(gmtset);
|
371
375
|
RB_DPM(grdinfo);
|
372
376
|
|
377
|
+
#if API_AT_LEAST(6, 3, 0)
|
378
|
+
RB_DPM(grdselect);
|
379
|
+
#endif
|
380
|
+
|
373
381
|
/* Mathematical operations on tables or grids */
|
374
382
|
|
375
383
|
RB_DPM(gmtmath);
|
data/lib/gmt.rb
CHANGED
@@ -402,6 +402,9 @@ class GMT
|
|
402
402
|
# Get information about grid files
|
403
403
|
wrapper_other :grdinfo
|
404
404
|
|
405
|
+
# Make selections or determine common regions from 2-D grids, images or 3-D cubes
|
406
|
+
wrapper_other :grdselect
|
407
|
+
|
405
408
|
|
406
409
|
# @!group Mathematical operations on tables or grids
|
407
410
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gmt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.J. Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|