Skip to content

Commit

Permalink
Enable longoptions support for grdfft. (#8199)
Browse files Browse the repository at this point in the history
* Enable longoptions support for grdedit.

* Enable longoptions support for grdfft.

* Enable longoptions support for grdfft.

* Update grdfft_inc.h

---------

Co-authored-by: Joaquim <[email protected]>
  • Loading branch information
rbdavis and joa-quim committed Mar 2, 2024
1 parent 3295c65 commit d458d90
Showing 1 changed file with 18 additions and 36 deletions.
54 changes: 18 additions & 36 deletions src/longopt/grdfft_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,48 +25,30 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
"", "",
{ 0, 'A', "azimuth|azim", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'C', "upward", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "differentiate|dfdz", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'E', "radial_power|power_spectrum",
"r,x,y", "radial,x,y",
"w,n", "wavelength,normalize",
GMT_TP_STANDARD },
{ 0, 'C', "",
"", "",
{ 0, 'F', "filter",
"r,x,y", "isotropic,x,y",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
GMT_G_OUTGRID_KW,
{ 0, 'I', "integrate",
"g", "gravity",
"", "",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
{ 0, 'N', "dimensions|inquire",
"a,f,m,r,s", "accurate,actual,low_memory,rapid,show",
"d,a,h,l,e,m,n,v,w,z",
"detrend,remove_mean,remove_mid,leave_alone,edge_point,edge_mirror,no_extend,verbose,suffix,complex",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
{ 0, 'Q', "no_wavenum_ops", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'S', "scale",
"d", "deflection",
"", "",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
Expand Down

0 comments on commit d458d90

Please sign in to comment.