Closed oyvfoss closed 3 months ago
data.ctd.inspect_dual_sensors(ds) currently returns an error ("IndexError: list index out of range") if there are no dual sensors.
data.ctd.inspect_dual_sensors(ds)
IndexError: list index out of range
The function is a wrapper for data.ctd._ctd_visualize.inspect_dual_sensors, so thats where we have to apply a fix.
data.ctd._ctd_visualize.inspect_dual_sensors
Should do a check for dual sensors and do something like return a string "No dual sensors in dataset" if variable_pairs is empty.
variable_pairs
Done (0a93f95f548f8444087a6a9d88f6a284daabd693)
data.ctd.inspect_dual_sensors(ds)
currently returns an error ("IndexError: list index out of range
") if there are no dual sensors.The function is a wrapper for
data.ctd._ctd_visualize.inspect_dual_sensors
, so thats where we have to apply a fix.Should do a check for dual sensors and do something like return a string "No dual sensors in dataset" if
variable_pairs
is empty.