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

Let GMT have ability to write a 3-D netCDF grid #4314

Closed
PaulWessel opened this issue Oct 10, 2020 · 2 comments
Closed

Let GMT have ability to write a 3-D netCDF grid #4314

PaulWessel opened this issue Oct 10, 2020 · 2 comments
Assignees
Labels
feature request Request a new feature
Milestone

Comments

@PaulWessel
Copy link
Member

Description of the desired feature

We have two modules (greenspline, grdinterpolate) that need the ability to write out a 3-D grid. Currently, they are only able to write a stack of 2-D grids but this is not a good longterm solution. I intend to implement the 3-D grid writing by leveraging code that @joa-quim has written for some non-GMT programs of his:

https://github.com/joa-quim/NSWING/blob/master/nswing.c#L3050

and

https://github.com/joa-quim/NSWING/blob/master/nswing.c#L3294

This request is mostly to serve as placeholder for this links since my ability to loose emails in the early onslaught of emails is pretty good...

GMT mostly reads 2-D grids and can read a 2-D slice from higher dimension netCDF grids. Thus, there is no immediate need for a function to read in a 3-D grid per se, but this could change in the future. Writing the 3-D grid is a much higher priority and should be implemented before 6.2.0 is released later this year.

@PaulWessel PaulWessel added the feature request Request a new feature label Oct 10, 2020
@PaulWessel PaulWessel added this to the 6.2.0 milestone Oct 10, 2020
@seisman
Copy link
Member

seisman commented Oct 13, 2020

Related discussions at #2912.

@PaulWessel
Copy link
Member Author

Closed as implemented by #4581.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

3 participants