aodn / imos-toolbox

Graphical tool for QC'ing and NetCDF'ing oceanographic datasets
GNU General Public License v3.0
45 stars 30 forks source link

IMOSechoIntensitySetQC thresholds not exported to netcdf files #781

Open BecCowley opened 2 years ago

BecCowley commented 2 years ago

The thresholds and names of thresholds in the imosEchoIntensitySetQC routine are not displayed correctly in the GUI when clicking on the table in the statistics screen. They are also not exported into the quality_control_log in the netcdf exported files, and the value names do not match what is in the imosEchoIntensitySetQC.txt file.

EG, from IMOS_DWM-DA_AETVZ_20180502T045200Z_EAC3200_FV01_EAC3200-2019-Quartermaster-Workhorse-ADCP-108_END-20190920T213300Z_C-20220330T004640Z.nc

imosEchoIntensitySetQC(echo_intensity_threshold=\036propagate=\001near_bad_bin=\002further_bad_bin=\034) flagged 150251 ABSIC1 samples with flag Bad_data.

Names & values for this particular file should be: echo_intensity_threshold=30 bound_by_depth = 1 bound_by_index=0 bound_value=50 propagate=1