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

[FEAT] 3D Interpolation Scheme in Grid #99

Open
aaronjridley opened this issue Apr 14, 2023 · 0 comments
Open

[FEAT] 3D Interpolation Scheme in Grid #99

aaronjridley opened this issue Apr 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aaronjridley
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In order to implement things like satellites and multiple grids that share information, a generalized 3D interpolation scheme needs to be created. The general 3d interpolation needs to be independent of the grid. Then, it needs to be connected to the grid.

Describe the solution you'd like
Functions that should be created:

  • grid.set_interpolation_coefs(lons, lats, alts)
  • grid.get_values(3darray_on_grid)
  • These will depend on a bunch of other functions that are more generalized
  • Could feed in a hook/reference, so that the grid could store multiple sets of interpolation coefficients

Describe alternatives you've considered
Need some generalized functions too, so that we can interpolate things like boundary condition files (e.g., lower BCs, electrodynamics files).

Idea: If we use the grid architecture (class), then we should be able to create a mapping from one grid to another. We could then create a general function that is something like grid1.create_interpolation_coefs(grid2). We may want to have a "name" variable in each of the grids, so when the mapping is done, the grid1 can keep track of the different mappings.

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

No branches or pull requests

1 participant