GEOS-ESM / NDSL

NOAA NASA Domain Specific Language middleware layer
0 stars 0 forks source link

Absolute indexing mitigation: check for out of bounds #65

Open FlorianDeconinck opened 1 day ago

FlorianDeconinck commented 1 day ago

The new absolute K indexation means we can check for bounds access at compile time, which was an iron rule for GT4Py.

To mitigate the issue, we should introduce on DEBUG a bound check call which should error out cleanly.

Parent: https://github.com/GEOS-ESM/SMT-Nebulae/issues/36