Refactor `gtscript` import under a central `ndsl.gtscript`
Opened this issue · 0 comments
FlorianDeconinck commented
As shown in NOAA-GFDL/PyFV3#13 the current gtscript
import are still pointing to the original gt4py
package. This isn't an issue per se, but could induce further confusion for users.
We propose to wrap the common imports into a stub on ndsl
e.g.:
from gt4py.cartesian.gtscript import PARALLEL, computation, horizontal, interval, region
would become
from ndsl.gtscript import PARALLEL, computation, horizontal, interval, region
We would not recommend moving them into ndsl
so that the delimitation to gt4py
is kept for clarity.