seabirdfilehandler.utils module

- seabirdfilehandler.utils.get_unique_sensor_data(sensor_data)[source]
Returns all the unique sensors and their configuration used in the given collection of sensor data. These will typically be parsed from xml inside .cnv or .xmlcon files. If for example, the first oxygen sensor has been replaced after the 8 cast, then we will see that in the output structure by a seconde tuple, with the number 8 and the individual sensor information for that new oxygen sensor.
- Parameters:
sensor_data (
list
[list
[dict
]]) – The structure of xml-parsed dicts inside two organizing lists.- Return type:
list
[tuple
[list
[dict
]]]- Returns:
The input structure stripped down to unique sensor data and appended by
the index, at which this new sensor appeared the first time.