-
Notifications
You must be signed in to change notification settings - Fork 405
Expand file tree
/
Copy pathgrdfilter_inc.h
More file actions
43 lines (40 loc) · 1.83 KB
/
grdfilter_inc.h
File metadata and controls
43 lines (40 loc) · 1.83 KB
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
/*--------------------------------------------------------------------
*
* 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
*--------------------------------------------------------------------*/
#ifndef GRDFILTER_INC_H
#define GRDFILTER_INC_H
/* Translation table from long to short module options, directives and modifiers */
static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
/* separator, short_option, long_option,
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'D', "distance", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "filter",
"b,c,g,f,o,m,p,h,l,L,u,U",
"boxcar,cosarch,gaussian,custom,operator,median,mlprob,histogram,minall,minpos,maxall,maxneg",
"c,h,l,q,u", "center,highpass,lower,quantile,upper",
GMT_TP_STANDARD },
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'N', "nans",
"i,p,r", "ignore,preserve,replace",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "toggle_registration|toggle", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !GRDFILTER_INC_H */