GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enhance -o to accept the same transformations as -i by PaulWessel · Pull Request #7887 · GenericMappingTools/gmt

Conversation

@PaulWessel

@PaulWessel PaulWessel commented Oct 8, 2023

Copy link
Copy Markdown
Contributor

See this recent forum post for background. Long overdue upgrade to modify output columns via transformations as we are able to do on input. This is particularly useful when writing table output that originate from grids (e.g., grdtrack). I have updated the -o parser (shared code with -i parser), synopsis, documentation, and added a test script gmt_core/gmt_io_cols.sh which compares output from convert with the same settings for -i to the output from -o. Passes.
WIP since I want some more testing first.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
PaulWessel added 9 commits October 7, 2023 19:31
@PaulWessel
WIP Enhance -o to accept the same transformations as -i
9cf99f3
Long overdue upgrade to modify output columns via transformations as we are able to do on input
@PaulWessel
Update gmt_init.c
d1881dd
@PaulWessel
Update gmt_io.c
7acc0d0
@PaulWessel
Updates
c420b11
@PaulWessel
Create gmt_io_cols.sh
21a5390
@PaulWessel
update docs
c807755
@PaulWessel
doc polish
399a5bc
@PaulWessel
Update gmt_init.c
6b73489
@PaulWessel
Update gmt_init.c
f70b6b5
@PaulWessel PaulWessel added enhancement Improving an existing feature add-changelog Add PR to the changelog labels Oct 8, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Oct 8, 2023
@PaulWessel
PaulWessel requested review from Esteban82, anbj, joa-quim, remkos and seisman October 8, 2023 12:14
@PaulWessel PaulWessel self-assigned this Oct 8, 2023
@PaulWessel PaulWessel mentioned this pull request Oct 9, 2023
Let modifiers of -i (+d|l|o|s) available for -o. #6053
Closed
Esteban82
Esteban82 approved these changes Oct 9, 2023
View reviewed changes

@Esteban82 Esteban82 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I test it with #6053

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@PaulWessel
Merge branch 'master' into enable-o-transformations
a4856b5
@PaulWessel PaulWessel changed the title WIP Enhance -o to accept the same transformations as -i Enhance -o to accept the same transformations as -i Oct 9, 2023
@Esteban82

Esteban82 commented Oct 9, 2023

Copy link
Copy Markdown
Member

Could I merge this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@PaulWessel
PaulWessel merged commit 6712608 into master Oct 9, 2023
@PaulWessel
PaulWessel deleted the enable-o-transformations branch October 9, 2023 20:15
PaulWessel added a commit that referenced this pull request Oct 9, 2023
@PaulWessel
Update long-options for -o
28cda9d
Given we now merged in #7887 we need to update -o, as -i.
@PaulWessel PaulWessel mentioned this pull request Oct 9, 2023
Update long-options for -o #7893
Merged
@PaulWessel

PaulWessel commented Oct 9, 2023

Copy link
Copy Markdown
Contributor Author

Already merged

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rbdavis pushed a commit that referenced this pull request Oct 10, 2023
@PaulWessel
Update long-options for -o (#7893)
fe88063
* Update long-options for -o

Given we now merged in #7887 we need to update -o, as -i.

* Update gmt_common_longoptions.h

Sorry, forgot to change 'i' to 'o'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Esteban82 Esteban82 Esteban82 approved these changes
@joa-quim joa-quim Awaiting requested review from joa-quim
@seisman seisman Awaiting requested review from seisman
@remkos remkos Awaiting requested review from remkos
@anbj anbj Awaiting requested review from anbj

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@PaulWessel PaulWessel

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Milestone

6.5.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@PaulWessel @Esteban82
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.