Skip to content

Commit

Permalink
fix bug in dealias_spectra that led to only the first timestep being …
Browse files Browse the repository at this point in the history
…processed
  • Loading branch information
wolfidan committed Feb 1, 2024
1 parent f390695 commit 0a61933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/retrieve/spectra.py
Expand Up @@ -1364,7 +1364,7 @@ def dealias_spectra(spectra, pwr_field = None, fields_out_list = None):
np.nansum(10**(0.1*old_spectra_fields[pwr_field][:,0]), axis=-1)

for i in range(ngates):
for j in range(1):
for j in range(nrays):
if not (np.isnan(old_spectra_fields[pwr_field][j, i, 0]) or
np.isnan(old_spectra_fields[pwr_field][j, i, -1])):

Expand Down

0 comments on commit 0a61933

Please sign in to comment.