Skip to content

Commit

Permalink
remove unused kw
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jan 30, 2025
1 parent c983862 commit 106315e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ioos_qc/qartod.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,9 @@ def spike_test(
# Check if inp is masked (original data missing)
if inp.mask[i]:
flag_arr[i] = QartodFlags.MISSING
# Check if diff is masked but not in inp (this indicates that original data is not missing,
# but the data point got masked in diff lines 575-580 due to trying to calculate a value

# Check if diff is masked but not in inp (this indicates that original data is not missing,
# but the data point got masked in diff lines 575-580 due to trying to calculate a value
# using a valid value and a missing value; and because of that, we are not able to apply QARTOD
# thus the UNKNOWN flag)
elif (diff.mask[i] and not inp.mask[i]):
Expand Down Expand Up @@ -802,7 +802,6 @@ def attenuated_signal_test(
min_period: Optional[int] = None,
check_type: str = "std",
*args,
**kwargs,
) -> np.ma.MaskedArray:
"""Check for near-flat-line conditions using a range or standard deviation.
Expand Down

0 comments on commit 106315e

Please sign in to comment.