Hannes' handover document contains a list of changes used in ICON4Py (PR #731) done in his experiments to get better performance. We need to clean up these changes and merge them cleanly in ICON4Py.
This project deals with fixing pure ICON4Py errors not related to gt4py features.
There are 3 tasks.
This fix deals with changes in the interface of the granule (a new optional field was added). This is already implemented in the followin WIP PRs:
The other arguments for incremental analysis update should probably also be optional.
So same should be done for rho_incr
and exner_incr
.
Show as wrong in build_xpu2py_verify
because they don't match (intentionally) in the halo. Daniel implemented a feature that allows to decide were to verify. For these fields the range needs to be fixed.
and the following line. This bug can be triggered by exp.mch_icon-ch2
.
_backend
where
is missing 2 arguments? -> np.asarray(condition).nonzero()
-> return tuple of arrays with the components of the indices where the condition is non-zero
Solved by: https://github.com/C2SM/icon4py/pull/750