-
Notifications
You must be signed in to change notification settings - Fork 375
/
Copy pathgmt_mb.h
37 lines (32 loc) · 1.42 KB
/
gmt_mb.h
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
/*--------------------------------------------------------------------
*
* Copyright (c) 1991-2025 by the GMT Team (https://www.generic-mapping-tools.org/team.html)
* See LICENSE.TXT file for copying and redistribution conditions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3 or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* Contact info: www.generic-mapping-tools.org
*--------------------------------------------------------------------*/
/*
* File with definitions that allow compatibility between GMT 6 and
* the MB-system programs mbcontour.c, mbgrdtiff.c, and mbswath.c.
*
* Author: Paul Wessel
* Date: 4-Jul-2020
* Version: 6 API
*/
/* Only included when compiling the MB system */
#ifndef GMT_MB_H
#define GMT_MB_H
#define gmt_get_cpt(GMT,file,flag,min,max) gmt_get_palette(GMT,file,flag,min,max,0.0)
#define gmt_M_grd_is_global gmt_grd_is_global
#define GMT_c_OPT "-c<ncopies>" /* OBSOLETE */
#define gmt_input_is_nan_proxy(GMT,value) gmt_input_col_is_nan_proxy(GMT,value,0) /* Deprecated in GMT 6.3.0 */
#endif /* GMT_MB_H */