Skip to content

Commit

Permalink
Removing percentile QC
Browse files Browse the repository at this point in the history
as of #242
  • Loading branch information
BaptisteVandecrux committed May 8, 2024
1 parent ac20896 commit 11ba26e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pypromice/process/L1toL2.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ def toL2(
logger.exception('Flagging and fixing failed:')

ds = persistence_qc(ds) # Flag and remove persistence outliers
if ds.attrs['format'] == 'TX':
# TODO: The configuration should be provided explicitly
outlier_detector = ThresholdBasedOutlierDetector.default()
ds = outlier_detector.filter_data(ds) # Flag and remove percentile outliers
# if ds.attrs['format'] == 'TX':
# # TODO: The configuration should be provided explicitly
# outlier_detector = ThresholdBasedOutlierDetector.default()
# ds = outlier_detector.filter_data(ds) # Flag and remove percentile outliers

# filtering gps_lat, gps_lon and gps_alt based on the difference to a baseline elevation
# right now baseline elevation is gapfilled monthly median elevation
Expand Down

0 comments on commit 11ba26e

Please sign in to comment.