Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aeri_quality_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aeri
aeri_quality_control
Commits
aad3b6c1
Commit
aad3b6c1
authored
4 years ago
by
William Roberts
Browse files
Options
Downloads
Patches
Plain Diff
Remove standard name from _checks
parent
3539e8ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aeri_qc/main.py
+6
-5
6 additions, 5 deletions
aeri_qc/main.py
with
6 additions
and
5 deletions
aeri_qc/main.py
+
6
−
5
View file @
aad3b6c1
...
...
@@ -77,13 +77,14 @@ def save_quality(frame, qc_path, checklist):
if
'
_flag
'
in
check
.
name
:
variable
.
flag_values
=
np
.
array
((
0
,
1
)).
astype
(
np
.
uint8
)
variable
.
flag_meanings
=
"
valid_data invalid_data
"
variable
.
standard_name
=
"
quality_flag
"
variable
.
description
=
'
a binary weighting factor either zero or one describing the
'
\
'
quality of the underlying data as valid or invalid respectively
'
elif
'
_check
'
in
check
.
name
:
variable
.
description
=
'
a real-valued weighting factor between zero and
'
\
'
one describing the quality of the underlying data
'
if
"
aggregate_qc
"
in
check
.
name
:
variable
.
description
=
'
a real-valued weighting factor between zero and
one describing the quality of
'
\
'
the underlying data as completely valid or completely invalid respectively
'
if
"
aggregate_qc
_flag
"
==
check
.
name
:
variable
.
standard_name
=
"
aggregate_quality_flag
"
else
:
variable
.
standard_name
=
"
quality_flag
"
check
.
depends
.
sort
()
variable
.
depends
=
'
'
.
join
(
check
.
depends
)
variable
.
affects_calibration
=
str
(
check
.
affects_calibration
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment