Hello, Daniel. Нow to solve a problem? (ValueError: shape mismatch: value array of shape (1479,1,1) could not be broadcast to indexing result of shape (1,1479)`)
`
Input file is /home/pavel/pyhum_test/test.DAT
Sonar file path is /home/pavel/pyhum_test
Max. transducer power is 1000.0 W
pH is 7.0
Temperature is 10.0
Traceback (most recent call last):
File "", line 1, in
File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/test.py", line 138, in dotest
PyHum.correct(humfile, sonpath, maxW, doplot, dofilt, correct_withwater, ph, temp, salinity, dconcfile)
File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/_pyhum_correct.py", line 314, in correct
Zt, R, A = remove_water(star_fp, bed, shape_star, dep_m, pix_m, 1, maxW)
File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/_pyhum_correct.py", line 706, in remove_water
a[:,[k]] = np.expand_dims(d[k]/yvec, axis=1)
ValueError: shape mismatch: value array of shape (1479,1,1) could not be broadcast to indexing result of shape (1,1479)`
Hello, Daniel. Нow to solve a problem? (ValueError: shape mismatch: value array of shape (1479,1,1) could not be broadcast to indexing result of shape (1,1479)`)
` Input file is /home/pavel/pyhum_test/test.DAT
Sonar file path is /home/pavel/pyhum_test Max. transducer power is 1000.0 W pH is 7.0 Temperature is 10.0 Traceback (most recent call last): File "", line 1, in File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/test.py", line 138, in dotest PyHum.correct(humfile, sonpath, maxW, doplot, dofilt, correct_withwater, ph, temp, salinity, dconcfile) File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/_pyhum_correct.py", line 314, in correct Zt, R, A = remove_water(star_fp, bed, shape_star, dep_m, pix_m, 1, maxW) File "/home/pavel/pyhum_2/local/lib/python2.7/site-packages/PyHum/_pyhum_correct.py", line 706, in remove_water a[:,[k]] = np.expand_dims(d[k]/yvec, axis=1) ValueError: shape mismatch: value array of shape (1479,1,1) could not be broadcast to indexing result of shape (1,1479)`