Skip to content

Commit

Permalink
rename fn to filter_qc_fail
Browse files Browse the repository at this point in the history
This name is more intuitive in meaning that the sonde will be filtered
if QC fails. The style is also now consistent with the naming of the function
`filter_no_launch_detect`.
  • Loading branch information
Geet-George committed Nov 15, 2023
1 parent df661f0 commit b8a8fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/halodrops/sonde.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def near_surface_coverage(
)
return self

def qc_filter(self, filter_flags=None):
def filter_qc_fail(self, filter_flags=None):
"""
Filters the sonde based on a list of QC flags. If any of the flags are False, the sonde will be filtered out from creating L2.
If the sonde passes all the QC checks, the attributes listed in filter_flags will be removed from the sonde object.
Expand Down

0 comments on commit b8a8fb0

Please sign in to comment.