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 table
global_table_var.at([...]) - introduced a mixed syntax, maybe confusing
global_table_var.at(....) - with indices as positional arguments, mixed syntax
- [add your idea here]
Action plan:
Previously we design a
GlobalTable(#1451) which provides aglobal_table_var.A(...)that works as an absolute index on the data dimensions (also work with regularFieldsthough 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=[...])withddimoptional (#2276).Those concept overlap enough to be merge into one another.
Syntax for the
GlobalTableremains 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 syntaxAction plan:
.Ause