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

Feature request: Develop Aether cube sphere interface #665

Open
johnsonbk opened this issue Apr 16, 2024 · 0 comments
Open

Feature request: Develop Aether cube sphere interface #665

johnsonbk opened this issue Apr 16, 2024 · 0 comments

Comments

@johnsonbk
Copy link
Collaborator

Use case

Collaboration with Aaron Ridley (U Mich) requires development of an interface to the Aether upper atmosphere model. The Aether lat-lon grid interface was merged in pull request #635. The cube sphere version should also be tested and merged.

Describe your preferred solution

The cube sphere presents an uncommon grid topology because the spaces in between grid centers are not all logically rectangular. There are 8 cube vertices that are enclosed by a triangle of grid centers. The remaining grid sectors are enclosed by quadrilaterals.

The interface should be able to determine if an observation lies within a triangle at one of the cube vertices, and if so, use barycentric interpolation. Otherwise, if an observation lies within a quadrilateral, quad_bilinear_interp from the quad_utils mod should be used.

In order to implement this solution, an additional program should be included that creates a geometry file for the cube sphere grid that allows the model_mod to look up whether an observation is contained within a triangle or a quadrilateral.

Describe any alternatives you have considered

It would be possible to copy procedures from the CAM-SE model mod, however, there are two shortcomings to this approach:

  1. The CAM-SE model mod predates the quad_utils mod, so using procedures from CAM-SE would forgo the capabilities of the quad_utils mod.
  2. The CAM-SE model mod shares a lot of common code with the CAM-FV model mod, much of which is not pertinent to Aether.
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

No branches or pull requests

1 participant