Skip to content

Commit 0096ad9

Browse files
committed
add second exception to make_plot_tidal_ellipses()
1 parent f39e0a4 commit 0096ad9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pycurrents_ADCP_processing/plot_westcoast_nc_LX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,7 @@ def create_westcoast_plots(
25562556
time_lim, bin_depths_lim, ns_lim, ew_lim, resampled
25572557
)
25582558
output_file_list.append(fname_tidal_ellipse)
2559-
except ValueError as e:
2559+
except ValueError or IndexError as e:
25602560
warnings.warn(f'Tidal analysis failed with error: {e}')
25612561

25622562
# pcolor (pseudocolour) depth profile plot of rotary spectra

0 commit comments

Comments
 (0)