You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm, I note it works as expected if you place -Bs as the last -B option. I think the order is important and I think I am actually sorting these options somewhere to ensure that but perhaps it is failing in this case. It is true the -Bs is problematic given its multiple meanings...
See gmt_parse.c function GMT_LOCAL void gmtparse_ensure_b_options_order (struct GMT_CTRL *GMT, struct GMT_OPTION *options);
The fun thing about that function is that it sets up priorities for the various -B option as to how they should be sorted.
Then it does nothing...
I am finally tackling the sorting of the options array - seems to work. Doing testing now. This means the user order will no longer matter as we do an internal shuffle.
Activity
PaulWessel commentedon Jun 17, 2021
Hm, I note it works as expected if you place -Bs as the last -B option. I think the order is important and I think I am actually sorting these options somewhere to ensure that but perhaps it is failing in this case. It is true the -Bs is problematic given its multiple meanings...
PaulWessel commentedon Jun 17, 2021
See gmt_parse.c function
GMT_LOCAL void gmtparse_ensure_b_options_order (struct GMT_CTRL *GMT, struct GMT_OPTION *options);The fun thing about that function is that it sets up priorities for the various -B option as to how they should be sorted.
Then it does nothing...
PaulWessel commentedon Jun 18, 2021
I am finally tackling the sorting of the options array - seems to work. Doing testing now. This means the user order will no longer matter as we do an internal shuffle.