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

Refactor Fields.interpolate to make sense for Nothing locations and Flat directions #3368

Closed
wants to merge 65 commits into from

Conversation

glwagner
Copy link
Member

@glwagner glwagner commented Oct 30, 2023

This PR changes the syntax for interpolate to

interpolate(to_node, from_field, from_location, from_grid)

to interpolate from_field to_node.

Then to_node may be a 3-tuple for 3D grid/locations, 2-tuple for 2D grids/locations, or 1-tuple for 1D grids/locations.

It also makes LatitudeLongitudeGrid support Flat vertical directions.

Closes #3356

@glwagner
Copy link
Member Author

@simone-silvestri so close! Can you take a look at the distributed tests?

@glwagner
Copy link
Member Author

glwagner commented Dec 5, 2023

Superceded by #3395

@glwagner glwagner closed this Dec 5, 2023
@navidcy navidcy changed the title (0.90.2) Refactor Fields.interpolate to make sense for Nothing locations and Flat directions Refactor Fields.interpolate to make sense for Nothing locations and Flat directions Jan 26, 2024
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.

interpolate doesn't work with Nothing locations
3 participants