GDAL - numpy is 0xa error.txt

The merge window text - Loren Amelang, 2019-01-21 11:03 PM

Download (5.01 KB)

 
1
Processing algorithm…
2
Algorithm 'Merge' starting…
3
Input parameters:
4
{ 'DATA_TYPE' : 5, 'INPUT' : ['C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_46_436_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_435_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_436_to2226_clip_manual.tif'], 'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif', 'PCT' : False, 'SEPARATE' : False }
5

    
6
GDAL command:
7
cmd.exe /C gdal_merge.bat -ot Float32 -of GTiff -o C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif --optfile C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe\mergeInputFiles.txt
8
GDAL command output:
9
0RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
10

    
11
Traceback (most recent call last):
12

    
13
File "C:\OSGEO4~1\bin\gdal_merge.py", line 611, in <module>
14

    
15
sys.exit(main())
16

    
17
File "C:\OSGEO4~1\bin\gdal_merge.py", line 596, in main
18

    
19
fi.copy_into(t_fh, band, band, nodata)
20

    
21
File "C:\OSGEO4~1\bin\gdal_merge.py", line 343, in copy_into
22

    
23
nodata_arg)
24

    
25
File "C:\OSGEO4~1\bin\gdal_merge.py", line 124, in raster_copy
26

    
27
m_band)
28

    
29
File "C:\OSGEO4~1\bin\gdal_merge.py", line 180, in raster_copy_with_mask
30

    
31
t_xsize, t_ysize)
32

    
33
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2635, in ReadAsArray
34

    
35
from osgeo import gdalnumeric
36

    
37
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdalnumeric.py", line 2, in <module>
38

    
39
from osgeo.gdal_array import *
40

    
41
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 17, in <module>
42

    
43
_gdal_array = swig_import_helper()
44

    
45
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 16, in swig_import_helper
46

    
47
return importlib.import_module('_gdal_array')
48

    
49
File "C:\OSGEO4~1\apps\Python27\lib\importlib\__init__.py", line 37, in import_module
50

    
51
__import__(name)
52

    
53
ImportError: No module named _gdal_array
54

    
55
Execution completed in 4.45 seconds
56
Results:
57
{'OUTPUT': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif, 'createOptions': {'fileEncoding': 'System'}}>}
58

    
59
Loading resulting layers
60
Algorithm 'Merge' finished
61
Processing algorithm…
62
Algorithm 'Merge' starting…
63
Input parameters:
64
{ 'DATA_TYPE' : 5, 'INPUT' : ['C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_46_436_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_435_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_436_to2226_clip_manual.tif'], 'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif', 'PCT' : False, 'SEPARATE' : False }
65

    
66
GDAL command:
67
cmd.exe /C gdal_merge.bat -ot Float32 -of GTiff -o C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif --optfile C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe\mergeInputFiles.txt
68
GDAL command output:
69
0RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
70

    
71
Traceback (most recent call last):
72

    
73
File "C:\OSGEO4~1\bin\gdal_merge.py", line 611, in <module>
74

    
75
sys.exit(main())
76

    
77
File "C:\OSGEO4~1\bin\gdal_merge.py", line 596, in main
78

    
79
fi.copy_into(t_fh, band, band, nodata)
80

    
81
File "C:\OSGEO4~1\bin\gdal_merge.py", line 343, in copy_into
82

    
83
nodata_arg)
84

    
85
File "C:\OSGEO4~1\bin\gdal_merge.py", line 124, in raster_copy
86

    
87
m_band)
88

    
89
File "C:\OSGEO4~1\bin\gdal_merge.py", line 180, in raster_copy_with_mask
90

    
91
t_xsize, t_ysize)
92

    
93
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2635, in ReadAsArray
94

    
95
from osgeo import gdalnumeric
96

    
97
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdalnumeric.py", line 2, in <module>
98

    
99
from osgeo.gdal_array import *
100

    
101
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 17, in <module>
102

    
103
_gdal_array = swig_import_helper()
104

    
105
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 16, in swig_import_helper
106

    
107
return importlib.import_module('_gdal_array')
108

    
109
File "C:\OSGEO4~1\apps\Python27\lib\importlib\__init__.py", line 37, in import_module
110

    
111
__import__(name)
112

    
113
ImportError: No module named _gdal_array
114

    
115
Execution completed in 0.38 seconds
116
Results:
117
{'OUTPUT': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif, 'createOptions': {'fileEncoding': 'System'}}>}
118

    
119
Loading resulting layers
120
Algorithm 'Merge' finished