Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
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
e1aa7ada
Commit
e1aa7ada
authored
2 years ago
by
David Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
release preparation
parent
0fa7170c
No related branches found
Branches containing commit
No related tags found
2 merge requests
!606
Release2.3
,
!605
Release 2.3
Pipeline
#143641
failed with stages
in 1 minute and 23 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+9
-1
9 additions, 1 deletion
CHANGELOG.md
saqc/funcs/flagtools.py
+9
-1
9 additions, 1 deletion
saqc/funcs/flagtools.py
saqc/version.py
+1
-1
1 addition, 1 deletion
saqc/version.py
tests/funcs/test_functions.py
+4
-3
4 additions, 3 deletions
tests/funcs/test_functions.py
with
23 additions
and
6 deletions
CHANGELOG.md
+
9
−
1
View file @
e1aa7ada
...
@@ -7,7 +7,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
...
@@ -7,7 +7,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
# Changelog
# Changelog
## Unreleased
## Unreleased
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.2.1...develop
)
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.3.0...develop
)
### Added
### Changed
### Removed
### Fixed
## [2.3.0](https://git.ufz.de/rdm-software/saqc/-/tags/v2.3.0) - 2023-01-17
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.2.1...v2.3.0
)
### Added
### Added
-
add option to not overwrite existing flags to
`concatFlags`
-
add option to not overwrite existing flags to
`concatFlags`
-
add option to pass existing axis object to
`plot`
-
add option to pass existing axis object to
`plot`
...
@@ -18,6 +25,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
...
@@ -18,6 +25,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
-
Renamed
`TranslationScheme.backward`
to
`TranslationScheme.toExternal`
-
Renamed
`TranslationScheme.backward`
to
`TranslationScheme.toExternal`
-
Changed default value of the parameter
`limit`
for
`SaQC.interpolateIndex`
and
`SaQC.interpolateInvalid`
to
``None``
-
Changed default value of the parameter
`limit`
for
`SaQC.interpolateIndex`
and
`SaQC.interpolateInvalid`
to
``None``
-
Changed default value of the parameter
``overwrite``
for
``concatFlags``
to
``False``
-
Changed default value of the parameter
``overwrite``
for
``concatFlags``
to
``False``
-
Deprecate
``transferFlags``
in favor of
``concatFlags``
### Removed
### Removed
-
python 3.7 support
-
python 3.7 support
### Fixed
### Fixed
...
...
This diff is collapsed.
Click to expand it.
saqc/funcs/flagtools.py
+
9
−
1
View file @
e1aa7ada
...
@@ -396,7 +396,15 @@ class FlagtoolsMixin:
...
@@ -396,7 +396,15 @@ class FlagtoolsMixin:
0
-
inf
-
inf
-
inf
0
-
inf
-
inf
-
inf
1
255.0
255.0
255.0
1
255.0
255.0
255.0
"""
"""
import
warnings
warnings
.
warn
(
f
"""
The method
'
transferFlags
'
is deprecated and
will be removed in version 2.5 of SaQC. Please use
'
SaQC.concatFlags(field=
{
field
}
, target=
{
target
}
, method=
"
match
"
, squeeze=False)
'
instead
"""
,
DeprecationWarning
)
return
self
.
concatFlags
(
field
,
target
=
target
,
method
=
"
match
"
,
squeeze
=
False
)
return
self
.
concatFlags
(
field
,
target
=
target
,
method
=
"
match
"
,
squeeze
=
False
)
@flagging
()
@flagging
()
...
...
This diff is collapsed.
Click to expand it.
saqc/version.py
+
1
−
1
View file @
e1aa7ada
...
@@ -4,4 +4,4 @@
...
@@ -4,4 +4,4 @@
#
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later
__version__
=
"
2.
2.1
"
__version__
=
"
2.
3
"
This diff is collapsed.
Click to expand it.
tests/funcs/test_functions.py
+
4
−
3
View file @
e1aa7ada
...
@@ -286,9 +286,10 @@ def test_transferFlags():
...
@@ -286,9 +286,10 @@ def test_transferFlags():
data
=
pd
.
DataFrame
({
"
a
"
:
[
1
,
2
],
"
b
"
:
[
1
,
2
],
"
c
"
:
[
1
,
2
]})
data
=
pd
.
DataFrame
({
"
a
"
:
[
1
,
2
],
"
b
"
:
[
1
,
2
],
"
c
"
:
[
1
,
2
]})
qc
=
saqc
.
SaQC
(
data
)
qc
=
saqc
.
SaQC
(
data
)
qc
=
qc
.
flagRange
(
"
a
"
,
max
=
1.5
)
qc
=
qc
.
flagRange
(
"
a
"
,
max
=
1.5
)
qc
=
qc
.
transferFlags
([
"
a
"
,
"
a
"
],
[
"
b
"
,
"
c
"
])
with
pytest
.
deprecated_call
():
assert
np
.
all
(
qc
.
flags
[
"
b
"
].
values
==
np
.
array
([
UNFLAGGED
,
BAD
]))
qc
=
qc
.
transferFlags
([
"
a
"
,
"
a
"
],
[
"
b
"
,
"
c
"
])
assert
np
.
all
(
qc
.
flags
[
"
c
"
].
values
==
np
.
array
([
UNFLAGGED
,
BAD
]))
assert
np
.
all
(
qc
.
flags
[
"
b
"
].
values
==
np
.
array
([
UNFLAGGED
,
BAD
]))
assert
np
.
all
(
qc
.
flags
[
"
c
"
].
values
==
np
.
array
([
UNFLAGGED
,
BAD
]))
def
test_flagJumps
():
def
test_flagJumps
():
...
...
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