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] New Edge Attribute: EdgeFromSourceNodeAttribute #42

Open
icedoom888 opened this issue Dec 13, 2024 · 0 comments · May be fixed by ecmwf/anemoi-graphs#95 or #62
Open

[Feature] New Edge Attribute: EdgeFromSourceNodeAttribute #42

icedoom888 opened this issue Dec 13, 2024 · 0 comments · May be fixed by ecmwf/anemoi-graphs#95 or #62
Assignees
Labels
enhancement New feature or request graphs

Comments

@icedoom888
Copy link
Contributor

icedoom888 commented Dec 13, 2024

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

To be used in the multi-encoder setting.
The model needs to know if nodes and edges come from lam or global dataset.

Describe the solution you'd like

Introduce a new edge attribute AttributeFromNode.
AttributeFromNode will copy an attribute of either the source or destination node to the edge.
Accesses origin/target node attribute and propagates it to the edge.
Used for example to identify if an encoder edge originates from a LAM or global node.

Attributes

  • node_attr_name : Name of the node attribute to propagate.
  • node_type : Pick the node to copy from source or destination

Describe alternatives you've considered

No response

Additional context

No response

Organisation

MeteoSwiss

@icedoom888 icedoom888 added the enhancement New feature or request label Dec 13, 2024
@icedoom888 icedoom888 self-assigned this Dec 13, 2024
@JesperDramsch JesperDramsch transferred this issue from ecmwf/anemoi-graphs Dec 19, 2024
@icedoom888 icedoom888 linked a pull request Jan 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request graphs
Projects
None yet
3 participants