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 longoptions support for makecpt. #8280

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Add longoptions support for makecpt. #8280

merged 1 commit into from
Jan 23, 2024

Conversation

rbdavis
Copy link
Contributor

@rbdavis rbdavis commented Jan 11, 2024

Description of proposed changes

Note: longoption strings copied wherever possible from existing and already
reviewed strings used in grd2cpt for very similar options. Also copied -T
'log2,log10,inverse,number' modifier strings from already reviewed gmtmath.

Python differences:

Changed -A transparency (conflicts with common options -t
transparency) to alpha.

Changed -H output to savecpt.

Julia differences:

Removed -A transparency alias (conflicts with common options -t
transparency).

Used wrap for -W wrapping directive (w) instead of as an alias
for the main longoption string.

Fixes #

Reminders

  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

@rbdavis rbdavis requested a review from a team January 11, 2024 18:28
@rbdavis rbdavis merged commit 030adf9 into master Jan 23, 2024
6 checks passed
@rbdavis rbdavis deleted the longopts-makecpt branch January 23, 2024 02:57
remkos added a commit that referenced this pull request Jan 23, 2024
* 'master' of https://github.com/GenericMappingTools/gmt: (24 commits)
  Bump actions/cache from 3 to 4 (#8323)
  Add longoptions support for psbarb. (#8283)
  Add longoptions support for nearneighbor. (#8281)
  Add longoptions support for makecpt. (#8280)
  Add longoptions support for kml2gmt. (#8279)
  Add longoptions support for inset. (#8278)
  Add longoptions support for grdvolume. (#8276)
  Add longoptions support for grdview. (#8275)
  Batch #8 of longoptions translation tests. (#8272)
  Enable longoptions support for grdconvert. (#8197)
  Enable longoptions support for grd2xyz. (#8178)
  Update gmt_init.c
  Allow -A even if movie is not generated
  typos
  Update std-opts.rst
  Same case, clearer titles
  Dateline crossing dcw polygons and tiles (#8318)
  Missed a space before -T synopsis
  Improve windbarb docs, synopsis and usage for -Q and parsing of -Q (#8314)
  Let grdmix create RGB imagea for red, green, blue grids in 0-255 range (#8316)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants