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 — Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers by seisman · Pull Request #3127 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Mar 20, 2024

Copy link
Copy Markdown
Member

Description of proposed changes

Part of PR #2398 to support wrapping GMT_GRID/GMT_IMAGE/GMT_CUBE.

GMT_GRID_HEADRE is used in GMT_GRID/GMT_IMAGE/GMT_CUBE, so better to have it merged into the main branch then we can work on GMT_GRID/GMT_IMAGE in parallel.

Proposed by #2398 (review)

No tests are added.

Sorry, something went wrong.

Uh oh!

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

All reactions
@seisman seisman added the enhancement Improving an existing feature label Mar 20, 2024
@seisman seisman added this to the 0.12.0 milestone Mar 20, 2024
@seisman
Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers
df786bb
@seisman
seisman force-pushed the datatypes/gmtgridheader branch from 788da1b to df786bb Compare March 20, 2024 01:40
@seisman seisman added the needs review This PR has higher priority and needs review. label Mar 20, 2024
weiji14
weiji14 reviewed Mar 20, 2024
View reviewed changes
Comment thread pygmt/datatypes/grid.py Resolved

Uh oh!

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

Comment thread pygmt/datatypes/grid.py Resolved

Uh oh!

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

Comment thread pygmt/datatypes/grid.py Resolved

Uh oh!

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

Comment thread pygmt/datatypes/grid.py Resolved

Uh oh!

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

@weiji14

weiji14 commented Mar 20, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Can you copy some of the nice statements about GMT_GRID_HEADER from #2398 (comment) into the first comment above? Good for future reference.

All reactions

Sorry, something went wrong.

Uh oh!

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

@seisman @weiji14
Apply suggestions from code review
a23e237
Co-authored-by: Wei Ji <[email protected]>
@seisman seisman mentioned this pull request Mar 20, 2024
Wrap GMT's standard data type GMT_GRID for grids #2398
Merged
4 of 5 tasks
weiji14
weiji14 approved these changes Mar 20, 2024
View reviewed changes

@weiji14 weiji14 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.

No tests are added.

Ok with this, since the tests will be added in #2398.

Pre-approving for now, but feel free or not to include the recommendations above.

Sorry, something went wrong.

Uh oh!

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

All reactions
@seisman
Update docstrings
4c8beba
@seisman

seisman commented Mar 20, 2024

Copy link
Copy Markdown
Member Author

Can you copy some of the nice statements about GMT_GRID_HEADER from #2398 (comment) into the first comment above? Good for future reference.

I'm not sure about this. Most of the statements in #2398 (comment) are about how to map GMT_GRID_HEADER metadata from/to netCDF metadata. They may make no sense to images.

All reactions

Sorry, something went wrong.

Uh oh!

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

@seisman
Merge branch 'main' into datatypes/gmtgridheader
60935f5
@seisman
seisman enabled auto-merge (squash) March 20, 2024 02:50
@seisman
seisman disabled auto-merge March 20, 2024 02:55
@seisman
seisman merged commit bfb641e into main Mar 20, 2024
@seisman
seisman deleted the datatypes/gmtgridheader branch March 20, 2024 02:55
@seisman seisman removed the needs review This PR has higher priority and needs review. label Mar 20, 2024
@weiji14

weiji14 commented Mar 20, 2024

Copy link
Copy Markdown
Member

Can you copy some of the nice statements about GMT_GRID_HEADER from #2398 (comment) into the first comment above? Good for future reference.

I'm not sure about this. Most of the statements in #2398 (comment) are about how to map GMT_GRID_HEADER metadata from/to netCDF metadata. They may make no sense to images.

I meant the GMT_GRID_HEADER data structure part, but that's ok, we can just leave it there.

All reactions

Sorry, something went wrong.

Uh oh!

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

@weiji14 weiji14 mentioned this pull request Mar 24, 2024
GMT_GRID_HEADER: Parse grid header and add grid properties #3134
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@weiji14 weiji14 weiji14 approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

enhancement Improving an existing feature

Projects

None yet

Milestone

0.12.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

@seisman @weiji14
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 01402792 — 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.