While testing compute_MVBS on an ONC AZFP dataset (device ASLAZFP55196), a mismatch was observed (thanks @slonimer!) between channel labels, frequencies, and the resulting echograms. The 38, 120, and 200 kHz channels appear to be shifted in the output MVBS dataset.
Dataset information:
- Source: ONC
- Device:
ASLAZFP55196
- Data product:
AAPTS
- Time span:
2026-06-14T00:00:02Z to 2026-06-14T23:59:57Z
Input Sv dataset:
channel = ['55196-38-1', '55196-120-2', '55196-200-3']
frequency_nominal = [38000., 120000., 200000.]
Output MVBS dataset:
channel = ['55196-38-1', '55196-120-2', '55196-200-3']
frequency_nominal = [120000., 200000., 38000.]
The input ds_Sv appears correct, suggesting the mismatch may occur during MVBS computation or when frequency_nominal is propagated to the output dataset. In this case, frequency_nominal is stored as a (ping_time, channel) variable in the input dataset, which may be related to the issue.
TODO:
Also check notebooks
compute_MVBS is used in several example notebooks. Once this issue is fixed, verify that these notebooks still behave correctly and that channel / frequency_nominal metadata remain consistent:
While testing
compute_MVBSon an ONC AZFP dataset (deviceASLAZFP55196), a mismatch was observed (thanks @slonimer!) between channel labels, frequencies, and the resulting echograms. The 38, 120, and 200 kHz channels appear to be shifted in the output MVBS dataset.Dataset information:
ASLAZFP55196AAPTS2026-06-14T00:00:02Zto2026-06-14T23:59:57ZInput Sv dataset:
Output MVBS dataset:
The input
ds_Svappears correct, suggesting the mismatch may occur during MVBS computation or whenfrequency_nominalis propagated to the output dataset. In this case,frequency_nominalis stored as a(ping_time, channel)variable in the input dataset, which may be related to the issue.TODO:
Also check notebooks
compute_MVBSis used in several example notebooks. Once this issue is fixed, verify that these notebooks still behave correctly and that channel /frequency_nominalmetadata remain consistent: