gmt 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/gmt/gmt.c +18 -2
- data/lib/gmt.rb +9 -3
- 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: 022e26f3ae09a259ba342cab4ed53d469ce9adba239cb1d6def587c383537293
|
4
|
+
data.tar.gz: 18a9d16c538a093b3cd1d4daa6e48861f15b8d6687b7dea63eda45d688c42767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5edbe55be22cdfeb039bfa8cdd91d20fc067c300546a60f5a72e51bba1e602b78067ae035cc1cc68826afbd6bdc1348f815c44308532597b5bad3785b0a874
|
7
|
+
data.tar.gz: 80d956f883d259d96f81c46b2f99e8c0463ee6f37a96f1f7b9fbf9e664deedba0dada8194bf48b0ca4d747f04f0f85f63b24c09acfeb3cf1ee0153aad487086e
|
data/ext/gmt/gmt.c
CHANGED
@@ -178,6 +178,10 @@ GMT_FUN(sphinterpolate)
|
|
178
178
|
GMT_FUN(surface)
|
179
179
|
GMT_FUN(triangulate)
|
180
180
|
|
181
|
+
#if API_AT_LEAST(6, 1, 0)
|
182
|
+
GMT_FUN(grdinterpolate)
|
183
|
+
#endif
|
184
|
+
|
181
185
|
/* Sampling of 1-D and 2-D data */
|
182
186
|
|
183
187
|
GMT_FUN(gmtsimplify)
|
@@ -257,13 +261,17 @@ GMT_FUN(grdvolume)
|
|
257
261
|
GMT_FUN(grdfill)
|
258
262
|
#endif
|
259
263
|
|
264
|
+
#if API_AT_LEAST(6, 1, 0)
|
265
|
+
GMT_FUN(grdmix)
|
266
|
+
#endif
|
267
|
+
|
260
268
|
/* Miscellaneous */
|
261
269
|
|
262
270
|
GMT_FUN(gmt2kml)
|
263
271
|
GMT_FUN(kml2gmt)
|
264
272
|
GMT_FUN(psconvert)
|
265
273
|
|
266
|
-
#if API_AT_LEAST(6,
|
274
|
+
#if API_AT_LEAST(6, 1, 0)
|
267
275
|
GMT_FUN(grdgdal)
|
268
276
|
#endif
|
269
277
|
|
@@ -333,6 +341,10 @@ void Init_gmt(void)
|
|
333
341
|
RB_DPM(surface);
|
334
342
|
RB_DPM(triangulate);
|
335
343
|
|
344
|
+
#if API_AT_LEAST(6, 1, 0)
|
345
|
+
RB_DPM(grdinterpolate);
|
346
|
+
#endif
|
347
|
+
|
336
348
|
/* Sampling of 1-D and 2-D data */
|
337
349
|
|
338
350
|
RB_DPM(gmtsimplify);
|
@@ -412,13 +424,17 @@ void Init_gmt(void)
|
|
412
424
|
RB_DPM(grdfill);
|
413
425
|
#endif
|
414
426
|
|
427
|
+
#if API_AT_LEAST(6, 1, 0)
|
428
|
+
RB_DPM(grdmix);
|
429
|
+
#endif
|
430
|
+
|
415
431
|
/* Miscellaneous */
|
416
432
|
|
417
433
|
RB_DPM(gmt2kml);
|
418
434
|
RB_DPM(kml2gmt);
|
419
435
|
RB_DPM(psconvert);
|
420
436
|
|
421
|
-
#if API_AT_LEAST(6,
|
437
|
+
#if API_AT_LEAST(6, 1, 0)
|
422
438
|
RB_DPM(grdgdal);
|
423
439
|
#endif
|
424
440
|
|
data/lib/gmt.rb
CHANGED
@@ -354,6 +354,9 @@ class GMT
|
|
354
354
|
# Perform optimal Delauney triangulation and gridding
|
355
355
|
wrapper_other :triangulate
|
356
356
|
|
357
|
+
# Interpolate 2-D grids or 1-D series from a 3-D data cube
|
358
|
+
wrapper_other :grdinterpolate
|
359
|
+
|
357
360
|
|
358
361
|
# @!group Sampling of 1-D and 2-D data
|
359
362
|
|
@@ -498,6 +501,9 @@ class GMT
|
|
498
501
|
# Perform operations on grid files in the frequency domain
|
499
502
|
wrapper_other :grdfft
|
500
503
|
|
504
|
+
# Interpolate across holes in a grid
|
505
|
+
wrapper_other :grdfill
|
506
|
+
|
501
507
|
# Compute directional gradient from grid files
|
502
508
|
wrapper_other :grdgradient
|
503
509
|
|
@@ -513,12 +519,12 @@ class GMT
|
|
513
519
|
# Mathematical operations on grid files
|
514
520
|
wrapper_other :grdmath
|
515
521
|
|
522
|
+
# Blending and transforming grids and images
|
523
|
+
wrapper_other :grdmix
|
524
|
+
|
516
525
|
# Calculate volumes under a surface within specified contour
|
517
526
|
wrapper_other :grdvolume
|
518
527
|
|
519
|
-
# Interpolate across holes in a grid
|
520
|
-
wrapper_other :grdfill
|
521
|
-
|
522
528
|
|
523
529
|
# @!group Miscellaneous
|
524
530
|
|
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.1
|
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:
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|