-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Open
Copy link
Labels
gt4py.cartesianIssues concerning the current version with support only for cartesian grids.Issues concerning the current version with support only for cartesian grids.triage: enhancementNew feature or requestNew feature or request
Description
Previously we design a GlobalTable (#1451) which provides a global_table_var.A(...) that works as an absolute index on the data dimensions (also work with regular Fields though it's less advertised).
We are introducing now a similar - slightly extended - concept with an absolute indexer that works as follows field.at(K=..., ddim=[...]) with ddim optional (#2276).
Those concept overlap enough to be merge into one another.
Syntax for the GlobalTable remains to be decided between:
global_table_var.at(ddim=[...])- probably a more constant option but mixed data dimensions and global tableglobal_table_var.at([...])- introduced a mixed syntax, maybe confusingglobal_table_var.at(....)- with indices as positional arguments, mixed syntax- [add your idea here]
Action plan:
- Deprecate the
.Ause - ADR the change and update the absolute index ADR
- Implement and check unit tests coverage
Metadata
Metadata
Assignees
Labels
gt4py.cartesianIssues concerning the current version with support only for cartesian grids.Issues concerning the current version with support only for cartesian grids.triage: enhancementNew feature or requestNew feature or request