mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-03 12:50:34 +08:00
Updated the import of osr package
This commit is contained in:
1 parent
1ab91fc2f4
commit
855cf60ca0
1 file changed
+6
-1
@@ -7,7 +7,12 @@ from simpegMT.Utils.dataUtils import rec2ndarr
|
||||
|
||||
# Import modules
|
||||
import numpy as np
|
||||
import os, osr, sys, re
|
||||
import os, sys, re
|
||||
try:
|
||||
import osr
|
||||
except ImportError as e:
|
||||
print 'Could not import osr, missing the gdal package'
|
||||
pass
|
||||
|
||||
class EDIimporter:
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user