Skip to content

Commit

Permalink
Add longoptions support for xyz2grd. (GenericMappingTools#8373)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Feb 25, 2024
1 parent 3f93f48 commit 764d062
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions src/longopt/xyz2grd_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,23 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
{ 0, 'A', "duplicate|multiple_nodes",
"d,f,l,m,n,r,s,S,u,z",
"difference,first,low,mean,number,rms,last,stddev,upper,sum",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "netcdf|netCDF|ncheader",
"", "",
"x,y,z,c,d,s,o,n,t,r,v", "xname,yname,zname,cpt|cmap,dname,scale,offset,invalid,title,remark,varname",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'S', "swap|byteswap", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Z', "onecol|one_col|convention|flags",
"T,B,L,R,a,A,c,u,h,H,i,I,l,L,f,d,x,y,w",
"top,bottom,left,right,ascii,ascii_float,int8|char,uint8|uchar,int16|short,uint16|ushort,int32|int,uint32|uint,int64|long,uint64|ulong,float32|float,float64|double,noxmax,noymax,swap|byteswap",
"", "",
GMT_TP_MULTIDIR },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !XYZ2GRD_INC_H */

0 comments on commit 764d062

Please sign in to comment.