Skip to content

[WIP] Refactor usage of connectivity and neighbor_table for consistency#1184

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/use-connectivity-consistently
Draft

[WIP] Refactor usage of connectivity and neighbor_table for consistency#1184
Copilot wants to merge 2 commits intomainfrom
copilot/use-connectivity-consistently

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

  • Rename connectivitiesneighbor_tables in halo.py (IconLikeHaloConstructor init param, self._connectivities field, _connectivity method, get_halo_constructor param) since these store raw NDArrays
  • Rename _get_local_connectivities_get_local_neighbor_tables in grid_manager.py
  • Rename _get_derived_connectivities_get_derived_neighbor_tables in grid_manager.py
  • Update call site in grid_manager.py where connectivities=global_neighbor_tables is passed to get_halo_constructor
  • Fix docstring in base.py::_replace_skip_values where Args says connectivity: but param is neighbor_table
  • Update all test files that use the renamed keyword arguments (test_halo.py, test_parallel_halo.py)
  • Verify changes compile/pass tests

@jenkins-apn
Copy link
Copy Markdown

Hi there, this is jenkins continuous integration...
Do you want me to verify this patch?

1 similar comment
@jenkins-apn
Copy link
Copy Markdown

Hi there, this is jenkins continuous integration...
Do you want me to verify this patch?

Agent-Logs-Url: https://github.com/C2SM/icon4py/sessions/01faaff7-7d25-450e-a63d-feb902ead295

Co-authored-by: jcanton <5622559+jcanton@users.noreply.github.com>
@havogt
Copy link
Copy Markdown
Contributor

havogt commented Apr 1, 2026

I would discuss the naming convention first...

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.

Use connectivity or neighbor_table consistently, not both

4 participants