-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to reflect NDSL import format #13
Changes from 2 commits
7fc2da9
693ece6
6c5ee64
08acca6
fb1d24d
f3dded4
83a05ca
9faca40
6efa237
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
from gt4py.cartesian.gtscript import PARALLEL, computation, horizontal, interval, region | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of scope of this PR, but some part of me is wondering if we could fold the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed on having ndsl as the single point of entry for pyFV3 and pySHiELD. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Logged in NOAA-GFDL/NDSL#29 |
||
|
||
import ndsl.stencils.corners as corners | ||
from ndsl import QuantityFactory, StencilFactory, orchestrate | ||
from ndsl.constants import X_DIM, X_INTERFACE_DIM, Y_DIM, Y_INTERFACE_DIM, Z_DIM | ||
from ndsl.dsl.dace.orchestration import orchestrate | ||
from ndsl.dsl.stencil import StencilFactory, get_stencils_with_varied_bounds | ||
from ndsl.dsl.stencil import get_stencils_with_varied_bounds | ||
from ndsl.dsl.typing import Float, FloatField, FloatFieldIJ, cast_to_index3d | ||
from ndsl.grid import DampingCoefficients | ||
from ndsl.initialization.allocator import QuantityFactory | ||
from pyFV3.stencils.basic_operations import copy_defn | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the logic behind this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a, confused, attempt to prevent all of the
stencils
module from being added to the cache, thus preventing any cyclical imports. It has been changed back now.