From 3849b895ad641aa578a4e66bd9519bc76f54e21d Mon Sep 17 00:00:00 2001 From: "Karl N. Kappler" Date: Sat, 4 Jan 2025 17:24:00 -0800 Subject: [PATCH] update syntax to new mt_metadata decimation --- aurora/pipelines/process_mth5.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aurora/pipelines/process_mth5.py b/aurora/pipelines/process_mth5.py index bdb33528..49f41244 100644 --- a/aurora/pipelines/process_mth5.py +++ b/aurora/pipelines/process_mth5.py @@ -379,7 +379,9 @@ def save_fourier_coefficients( dec_level_name, decimation_level_metadata=decimation_level_metadata, ) - fc_decimation_level.from_xarray(stft_obj, decimation_level_metadata.sample_rate) + fc_decimation_level.from_xarray( + stft_obj, decimation_level_metadata.decimation.sample_rate + ) fc_decimation_level.update_metadata() fc_group.update_metadata() else: