Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Add in QC flags for MGAUS soundings #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ __git_version__.py
*.pyc
dist/*
build/*
*egg-info/*
*egg-info/*
.*
run_sharppy.py
2 changes: 1 addition & 1 deletion sharppy/sharptab/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ def QC(val):
1 if value is good
0 if value is bad
'''
if val < -998.0 or val > 2.0e5: return 0
if val < -998.0 or val > 2.0e5 or val == 999.0 or val == 9999.0 or val == 999.000 or val == 9999.000 or val == 99999.0: return 0
return 1