Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new supplement gsfml: Global seafloor fabric and magnetic lineations #8122

Merged
merged 21 commits into from
Dec 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
include the longopt files
  • Loading branch information
PaulWessel committed Dec 1, 2023
commit c2d23abd1263dd4eaa10612583443a603be763a1
3 changes: 2 additions & 1 deletion src/gsfml/fzanalyzer.c
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@

#include "gmt_dev.h"
#include "fz_analysis.h"
#include "longopt/fzanalyzer_inc.h"

#define DEF_FZ_GAP 5.0 /* Half-width of FZ gap centered on d0 where we ignore ages in fitting a + b(d-d0) + c*H(d-d0) */

@@ -529,7 +530,7 @@ static void Free_Ctrl (struct GMT_CTRL *GMT, struct FZMODELER_CTRL *C) { /* Deal
}

static int usage (struct GMTAPI_CTRL *API, int level) {
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_NAME, THIS_MODULE_PURPOSE);
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_CLASSIC_NAME, THIS_MODULE_PURPOSE);
if (level == GMT_MODULE_PURPOSE) return (GMT_NOERROR);
GMT_Usage (API, 0, "usage: %s <FZcrossprofiles> -F<FZlines> [-C<min>/<max>/<inc>] "
"[-A<min>/<max>/<inc>] [-D<corrwidth>] [-I<FZ>[/<profile>]] "
3 changes: 2 additions & 1 deletion src/gsfml/fzblender.c
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@

#include "gmt_dev.h"
#include "fz_analysis.h"
#include "longopt/fzblender_inc.h"

#define DEF_Q_MIN 0.0 /* Minimum quality index */
#define DEF_Q_MAX 4.0 /* Maximum quality index */
@@ -134,7 +135,7 @@ static void Free_Ctrl (struct GMT_CTRL *GMT, struct FZBLENDER_CTRL *C) { /* Deal
}

static int usage (struct GMTAPI_CTRL *API, int level) {
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_NAME, THIS_MODULE_PURPOSE);
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_CLASSIC_NAME, THIS_MODULE_PURPOSE);
if (level == GMT_MODULE_PURPOSE) return (GMT_NOERROR);
GMT_Usage (API, 0, "usage: %s [-F<primaryfilter>] [-D] [-E<sEcondaryfilter>] [-I<FZid>] "
"[-Q<qmin>/<qmax>] [-Sbdetu[<weight>]] [-T<prefix>] [%s] [-Z<amp/var/F/width>]\n\n", GMT_V_OPT);
3 changes: 2 additions & 1 deletion src/gsfml/mlconverter.c
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@

#include "gmt_dev.h"
#include "fz_analysis.h"
#include "longopt/mlconverter_inc.h"

#define ML_GEEK2007 0
#define ML_CK1995 1
@@ -79,7 +80,7 @@ static void Free_Ctrl (struct GMT_CTRL *GMT, struct MLCONVERTER_CTRL *C) { /* De

static int usage (struct GMTAPI_CTRL *API, int level)
{
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_NAME, THIS_MODULE_PURPOSE);
const char *name = gmt_show_name_and_purpose (API, THIS_MODULE_LIB, THIS_MODULE_CLASSIC_NAME, THIS_MODULE_PURPOSE);
if (level == GMT_MODULE_PURPOSE) return (GMT_NOERROR);
GMT_Usage (API, 0, "usage: %s [<ML_data>] [-A] [-G[s]] [-S] [-Tc|g|o|s] [%s]\n", name, GMT_V_OPT);