SQL: Fix Setting index type (FLOAT to INTEGER).
parent
f83e549e4a
commit
2ad980248d
|
|
@ -100,10 +100,10 @@ class CreateTableForSaveAs:
|
||||||
acoustic_data INTEGER,
|
acoustic_data INTEGER,
|
||||||
temperature FLOAT,
|
temperature FLOAT,
|
||||||
distance_to_free_surface FLOAT,
|
distance_to_free_surface FLOAT,
|
||||||
tmin_index FLOAT, tmin_value FLOAT,
|
tmin_index INTEGER, tmin_value FLOAT,
|
||||||
tmax_index FLOAT, tmax_value FLOAT,
|
tmax_index INTEGER, tmax_value FLOAT,
|
||||||
rmin_index FLOAT, rmin_value FLOAT,
|
rmin_index INTEGER, rmin_value FLOAT,
|
||||||
rmax_index FLOAT, rmax_value FLOAT,
|
rmax_index INTEGER, rmax_value FLOAT,
|
||||||
freq_bottom_detection_index FLOAT,
|
freq_bottom_detection_index FLOAT,
|
||||||
freq_bottom_detection_value STRING,
|
freq_bottom_detection_value STRING,
|
||||||
depth_bottom_detection_min FLOAT,
|
depth_bottom_detection_min FLOAT,
|
||||||
|
|
@ -449,10 +449,10 @@ class CreateTableForSaveAs:
|
||||||
(
|
(
|
||||||
stg.acoustic_data[i], stg.temperature,
|
stg.acoustic_data[i], stg.temperature,
|
||||||
stg.distance_from_ABS_to_free_surface[i],
|
stg.distance_from_ABS_to_free_surface[i],
|
||||||
stg.tmin[i][0], stg.tmin[i][1],
|
int(stg.tmin[i][0]), stg.tmin[i][1],
|
||||||
stg.tmax[i][0], stg.tmax[i][1],
|
int(stg.tmax[i][0]), stg.tmax[i][1],
|
||||||
stg.rmin[i][0], stg.rmin[i][1],
|
int(stg.rmin[i][0]), stg.rmin[i][1],
|
||||||
stg.rmax[i][0], stg.rmax[i][1],
|
int(stg.rmax[i][0]), stg.rmax[i][1],
|
||||||
stg.freq_bottom_detection[i][0],
|
stg.freq_bottom_detection[i][0],
|
||||||
stg.freq_bottom_detection[i][1],
|
stg.freq_bottom_detection[i][1],
|
||||||
stg.depth_bottom_detection_min,
|
stg.depth_bottom_detection_min,
|
||||||
|
|
|
||||||
|
|
@ -524,7 +524,7 @@ class ReadTableForOpen:
|
||||||
|
|
||||||
logger.debug(f"stg.temperature: {stg.temperature}")
|
logger.debug(f"stg.temperature: {stg.temperature}")
|
||||||
logger.debug(f"stg.tmin: {stg.tmin}")
|
logger.debug(f"stg.tmin: {stg.tmin}")
|
||||||
logger.debug(f"stg.tmin: {stg.tmax}")
|
logger.debug(f"stg.tmax: {stg.tmax}")
|
||||||
logger.debug(f"stg.SNR_filter_value: {stg.SNR_filter_value}")
|
logger.debug(f"stg.SNR_filter_value: {stg.SNR_filter_value}")
|
||||||
|
|
||||||
def read_table_sediment_file(self):
|
def read_table_sediment_file(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue