Skip to content

Commit b064246

Browse files
authored
remove numba cache warning (#1267)
1 parent 1434fef commit b064246

File tree

3 files changed

+1
-135
lines changed

3 files changed

+1
-135
lines changed

test/test_utils.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

uxarray/grid/grid.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from uxarray.cross_sections import GridCrossSectionAccessor
2222
from uxarray.formatting_html import grid_repr
2323
from uxarray.grid.area import get_all_face_area_from_coords
24-
from uxarray.grid.bounds import _construct_face_bounds_array, _populate_face_bounds
24+
from uxarray.grid.bounds import _populate_face_bounds
2525
from uxarray.grid.connectivity import (
2626
_populate_edge_face_connectivity,
2727
_populate_edge_node_connectivity,
@@ -99,7 +99,6 @@
9999
from uxarray.io.utils import _parse_grid_type
100100
from uxarray.plot.accessor import GridPlotAccessor
101101
from uxarray.subset import GridSubsetAccessor
102-
from uxarray.utils.numba import is_numba_function_cached
103102

104103

105104
class Grid:
@@ -1428,12 +1427,6 @@ def bounds(self):
14281427
14291428
"""
14301429
if "bounds" not in self._ds:
1431-
if not is_numba_function_cached(_construct_face_bounds_array):
1432-
warn(
1433-
"Necessary functions for computing the bounds of each face are not yet compiled with Numba. "
1434-
"This initial execution will be significantly longer.",
1435-
RuntimeWarning,
1436-
)
14371430
_populate_face_bounds(self)
14381431
return self._ds["bounds"]
14391432

uxarray/utils/numba.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)