Skip to content

Commit

Permalink
add sample rate argument to decimation_level.from_xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Jan 23, 2024
1 parent aa8b36d commit c5a5c7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aurora/pipelines/fourier_coefficients.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ def add_fcs_to_mth5(m, fc_configs=None):
decimation_level = fc_group.add_decimation_level(
f"{i_dec_level}", decimation_level_metadata=fc_config
)
decimation_level.from_xarray(stft_obj)
decimation_level.from_xarray(
stft_obj, decimation_level.metadata.sample_rate_decimation
)
decimation_level.update_metadata()
fc_group.update_metadata()
return
Expand Down

0 comments on commit c5a5c7d

Please sign in to comment.