Fixed the wrong ordering of the data when being exported to a .csv file.
parent
9813ab7aae
commit
7a597c32b5
|
|
@ -1775,6 +1775,7 @@ class AcousticInversionTab(QWidget):
|
|||
ssc_sand = []
|
||||
|
||||
for k in range(self.combobox_acoustic_data_choice.count()):
|
||||
|
||||
if stg.time_cross_section[k].shape != (0,):
|
||||
time_data = stg.time_cross_section
|
||||
else:
|
||||
|
|
@ -1785,6 +1786,7 @@ class AcousticInversionTab(QWidget):
|
|||
else:
|
||||
depth_data = stg.depth
|
||||
|
||||
|
||||
time_shape = time_data[k].shape[1]
|
||||
depth_shape = depth_data[k].shape[1]
|
||||
|
||||
|
|
@ -1817,8 +1819,9 @@ class AcousticInversionTab(QWidget):
|
|||
if stg.SSC_sand[k].shape == (0,):
|
||||
stg.SSC_sand[k] = np.zeros(tmp_r.shape[0])
|
||||
|
||||
ssc_fine += stg.SSC_fine[k].reshape(tmp_r.shape[0]).tolist()
|
||||
ssc_sand += stg.SSC_sand[k].reshape(tmp_r.shape[0]).tolist()
|
||||
|
||||
ssc_fine += np.reshape( stg.SSC_fine[k], tmp_r.shape[0], 'F' ).tolist()
|
||||
ssc_sand += np.reshape( stg.SSC_sand[k], tmp_r.shape[0], 'F' ).tolist()
|
||||
|
||||
results = pd.DataFrame(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue