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 option to return 1D arrays in grid_coordinates #388

Merged
merged 2 commits into from Oct 24, 2022
Merged

Conversation

leouieda
Copy link
Member

The meshgrid=True option enables and disables calling numpy.meshgrid on the output arrays. Can be useful when building xarray grids, where we end up making the 2D arrays and then extracting the 1D arrays.

Relevant issues/PRs:

Fixes #382

The meshgrid=True option enables and disables calling numpy.meshgrid on
the output arrays. Can be useful when building xarray grids, where we
end up making the 2D arrays and then extracting the 1D arrays.
@leouieda leouieda marked this pull request as ready for review October 24, 2022 13:14
@leouieda leouieda merged commit e1f29c3 into main Oct 24, 2022
@leouieda leouieda deleted the 1d-coordinates branch October 24, 2022 13:28
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.

Add option to grid_coordinates to return 1D coordinate arrays
1 participant