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

Generate graphs from Hexagonal meshes #5

Closed
JesperDramsch opened this issue Jun 27, 2024 · 0 comments · Fixed by #11
Closed

Generate graphs from Hexagonal meshes #5

JesperDramsch opened this issue Jun 27, 2024 · 0 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request

Comments

@JesperDramsch
Copy link
Member

Is your feature request related to a problem? Please describe.

We should be able to create global graphs in hexagonal mesh arrangements.

These need to create nodes and edges on the fly from coordinates (or base grid). Ideally, these should be capable of building a multi-scale mesh that generates levels with connections to local representations in the different scales.

Describe the solution you'd like

This should probably use networkx and h3 to build the graphs, to have a well-tested base to build off of and generate a HeteroData Pytorch geometric object that can be used in anemoi-training and implements similar interfaces to #1 and #2.

Describe alternatives you've considered

Building the graph directly in Pytorch geometric. This would mean that we can easily re-use the objects in the rest of anemoi-graphs. However, the graph editing capability of networkx and the specific implementation of the multiscales in h3 are already well-defined and used across many projects.

Additional context

This would be similar to the multiscale implemented in AIFS v0.1 and GraphCast.

Organisation

ECMWF

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

Successfully merging a pull request may close this issue.

3 participants