diff --git a/oceans_sf/calculate_advection.py b/oceans_sf/calculate_advection.py index 90d53c4..9f54343 100755 --- a/oceans_sf/calculate_advection.py +++ b/oceans_sf/calculate_advection.py @@ -40,7 +40,7 @@ def calculate_advection( # noqa: D417 Returns ------- tuple or ndarray: - A tuple of advection components (x and y) if scalar is not provided, + A tuple of advection components (x and y) if scalar is not provided, otherwise returns an ndarray of scalar advection. """ if grid_type == "uniform": diff --git a/oceans_sf/generate_structure_functions.py b/oceans_sf/generate_structure_functions.py index 8936ac0..b5d5b8c 100755 --- a/oceans_sf/generate_structure_functions.py +++ b/oceans_sf/generate_structure_functions.py @@ -216,8 +216,6 @@ def generate_structure_functions( # noqa: C901, D417 x[x_shift], y[y_shift], x[x_shift], yroll[y_shift], grid_type ) - - # Bin the data if the grid is uneven if even is False: if skip_velocity_sf is False: