Skip to content

Commit

Permalink
Import shapely but not esmpy in main package (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar authored Aug 28, 2023
1 parent 6aaa7c2 commit 346edb9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions e3sm_diags/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import os
import sys

# import shapely before esmpy to prevent a segfault related to multiprocessing
import shapely # isort: skip
import esmpy # isort: skip
# import shapely here (before any esmpy imports via cdms2) to prevent a
# segfault related to multiprocessing. Do not import esmpy here to prevent
# issue with dask when using ESMF with system compilers.
import shapely

__version__ = "v2.9.0rc3"
INSTALL_PATH = os.path.join(sys.prefix, "share/e3sm_diags/")
Expand Down

0 comments on commit 346edb9

Please sign in to comment.