Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
35
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
ec820804
Commit
ec820804
authored
4 years ago
by
David Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
new SaQC argument to_mask to allow global masking settings
parent
06a2d043
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!193
Release 1.4
,
!188
Release 1.4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
saqc/core/core.py
+3
-2
3 additions, 2 deletions
saqc/core/core.py
with
3 additions
and
2 deletions
saqc/core/core.py
+
3
−
2
View file @
ec820804
...
...
@@ -105,10 +105,11 @@ _setup()
class
SaQC
:
def
__init__
(
self
,
flagger
,
data
,
flags
=
None
,
nodata
=
np
.
nan
,
error_policy
=
"
raise
"
):
def
__init__
(
self
,
flagger
,
data
,
flags
=
None
,
nodata
=
np
.
nan
,
to_mask
=
None
,
error_policy
=
"
raise
"
):
data
,
flags
=
_prepInput
(
flagger
,
data
,
flags
)
self
.
_data
=
data
self
.
_nodata
=
nodata
self
.
_to_mask
=
to_mask
self
.
_flagger
=
self
.
_initFlagger
(
data
,
flagger
,
flags
)
self
.
_error_policy
=
error_policy
# NOTE: will be filled by calls to `_wrap`
...
...
@@ -230,7 +231,7 @@ class SaQC:
# to_mask is a control keyword
ctrl_kws
=
{
**
(
FUNC_MAP
[
func_name
][
"
ctrl_kws
"
]),
'
to_mask
'
:
to_mask
,
'
to_mask
'
:
to_mask
or
self
.
_to_mask
,
'
plot
'
:
plot
,
'
inplace
'
:
inplace
,
'
lineno
'
:
lineno
,
...
...
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