Skip to content

Commit

Permalink
FIX: Update to check where mask is True.
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman committed Oct 29, 2024
1 parent e6fcf96 commit 13fb345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/qc/plot_qc_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
diff = np.diff(data)
max_difference = 0.04
data = np.ma.masked_greater(diff, max_difference)
index = np.where(data.mask == True)[0]
index = np.where(data.mask)[0]
result = ds.qcfilter.add_test(
var_name,
index=index,
Expand Down

0 comments on commit 13fb345

Please sign in to comment.