-
Peter Lünenschloß authored071aa617
To find the state of this project's repository at the time of any of these versions, check out the tags.
- Changelog
- Unreleased
- Added
- Changed
- Removed
- Fixed
- Deprecated
- 2.5.0 - 2023-06-22
- Added
- Changed
- Removed
- Fixed
- Deprecated
- 2.4.1 - 2023-06-22
- Added
- Changed
- Removed
- Fixed
- Deprecated
- 2.4.0 - 2023-04-25
- Added
- Changed
- Removed
- Fixed
- Deprecated
- 2.3.0 - 2023-01-17
- Added
- Changed
- Removed
- Fixed
- 2.2.1 - 2022-10-29
- Added
- Changed
- Removed
- Fixed
- 2.2.0 - 2022-10-28
- Added
- Changed
- Removed
- Fixed
- 2.1.0 - 2022-06-14
- Added
- Changed
- Removed
- Fixed
- 2.0.1 - 2021-12-20
- Added
- Changed
- Removed
- Fixed
- 2.0.0 - 2021-11-25
CHANGELOG.md 10.56 KiB
Changelog
Unreleased
Added
-
flagGeneric
: target broadcasting -
SaQC
: automatic translation of incoming flags - Option to change the flagging scheme after initialization
-
flagByClick
: manually assign flags using a graphical user interface -
SaQC
: support for selection, slicing and setting of items by use of subscription on SaQC objects (e.g.qc[key]
andqc[key] = value
). Selection works with single keys, collections of keys and string slices (e.g.qc["a":"f"]
). Values can be SaQC objects, pd.Series, Iterable of Series and dict-like with series values. -
plot
: addedyscope
keyword -
setFlags
: function to replaceflagManual
-
flagUniLOF
: added defaultly applied correction to mitigate phenomenon of overflagging at relatively steep data value slopes. (parameterslope_correct
).
Changed
Removed
Fixed
-
flagConstants
: fixed flagging of rolling ramps -
Flags
: add meta entry to imported flags - group operations were overwriting existing flags
-
SaQC._construct
: was not working for inherit classes (used hardcodedSaQC
to construct a new instance).
Deprecated
-
flagManual
in favor ofsetFlags
2.5.0 - 2023-06-22
Added
- WMO standard mean aggregations
- Function selection via strings for most function-expecting parameters
-
SaQC.plot
:- enable multivariate plots
- keyword
plot_kwargs
to pass matplotlib related arguments
- CLI:
-
--version
to print the SaQC version -
-ll
as a shorthand for--log-level
-
--json-field
to use a non-root element of a json file. - basic json support for CLI config files, which are detected by
.json
-extension.
-
-
SaQC.flagScatterLowpass
: option to select function based on string names. - Checks and unified error message for common function inputs.
Changed
- Require pandas >= 2.0
-
SaQC.flagUniLOF
andSaQC.assignUniLOF
: changed parameterfill_na
to typebool
. -
SaQC.plot
:- changed default color for single variables to
black
with80% transparency
- added seperate legend for flags
- changed default color for single variables to
Removed
-
SaQC.plot
: option to plot with complete history (history="complete"
) - Support for Python 3.8
Fixed
-
SaQC.assignChangePointCluster
andSaQC.flagChangePoints
: A tuple passedmin_period
was only recognised ifwindow
was also a tuple. -
SaQC.propagateFlags
was overwriting existing flags
Deprecated
-
SaQC.andGroup
andSaQC.orGroup
: option to pass dictionaries togroup
. -
SaQC.plot
:-
phaseplot
in favor of usage withmode="biplot"
-
cyclestart
in favor of usage withmarker_kwargs
-
-
SaQC.flagStatLowPass
in favor ofSaQC.flagScatterLowpass
2.4.1 - 2023-06-22
Added
Changed
- pin pandas to versions >= 2.0
Removed
- removed deprecated
DictOfSeries.to_df
Fixed
Deprecated
2.4.0 - 2023-04-25
Added
- Methods
logicalAnd
andlogicalOr
-
Flags
support slicing and column selection withlist
or apd.Index
. - Expose the
History
viaSaQC._history
- Config function
cv
(coefficient of variation)
Changed
- Rename
interplateInvalid
tointerpolate
- Rename
interpolateIndex
toalign
- Rewrite of
dios.DictOfSeries
Removed
- Parameter
limit
fromalign
- Parameter
max_na_group_flags
,max_na_flags
,flag_func
,freq_check
fromresample
Fixed
-
func
arguments in text configurations were not parsed correctly - fail on duplicated arguments to test methods
-
reample
was not writing meta entries -
flagByScatterLowpass
was overwriting existing flags -
flagUniLOF
andflagLOF
were overwriting existing flags
Deprecated
- Deprecate
flagMVScore
parameters:partition
in favor ofwindow
,partition_min
in favor ofmin_periods
,min_periods
in favor ofmin_periods_r
- Deprecate
interpolate
,linear
andshift
in favor ofalign
- Deprecate
roll
in favor ofrolling
- Deprecate
DictOfSeries.to_df
in favor ofDictOfSeries.to_pandas
2.3.0 - 2023-01-17
Added
- add option to not overwrite existing flags to
concatFlags
- add option to pass existing axis object to
plot
- python 3.11 support
- added Local Outlier Factor functionality
Changed
- Remove all flag value restrictions from the default flagging scheme
FloatTranslator
- Renamed
TranslationScheme.forward
toTranslationScheme.toInternal
- Renamed
TranslationScheme.backward
toTranslationScheme.toExternal
- Changed default value of the parameter
limit
forSaQC.interpolateIndex
andSaQC.interpolateInvalid
toNone
- Changed default value of the parameter
overwrite
forconcatFlags
toFalse
- Deprecate
transferFlags
in favor ofconcatFlags
Removed
- python 3.7 support
Fixed
- Error for interpolations with limits set to be greater than 2 (
interpolateNANs
) - Error when fitting polynomials to irregularly sampled data (
fitPolynomial
)
2.2.1 - 2022-10-29
Added
- data label to
plot
legend
Changed
-
dfilter
default value inference to respect the function default value ofplot
Removed
Fixed
- functions not handling
target
failed to overwrite existing variables
2.2.0 - 2022-10-28
Added
- translation of
dfilter
- new generic function
clip
- parameter
min_periods
toSaQC.flagConstants
- function
fitLowpassFilter
- tracking interpolation routines in
History
Changed
- test function interface changed to
func(saqc: SaQC, field: str | Sequence[str], *args, **kwargs)
- lib function
butterFilter
returnsNaN
for too-short series -
dfilter
default value precedence order
Removed
-
closed
keyword inflagJumps
Fixed
- fixed undesired behavior in
flagIsolated
for not harmonized data - fixed failing translation of
dfilter
-defaults - fixed unbound recursion error when interpolating with order-independent methods in
interpolateIndex
- fixed not working min_periods condition if
window=None
inassignZScore
- fixed Exception occuring when fitting polynomials via
polyfit
to harmonized data, containing all-NaN gaps wider than the polynomial fitting window size. - fixed bug in function parameter checking
- fixed bug one-off bug in
flagJumps
2.1.0 - 2022-06-14
Added
- documentation of global keywords
- generic documentation module
docurator.py
- documentation of flagging constants
pyproject.toml
- new function
progagateFlags
- include function typehints in parameter documentation
-
label
parameter to the generic functionisflagged
Changed
-
flagOffsets
parametersthresh
andthresh_relative
are optional - corrected false notion of the term residual (replace all occurences of residue by residual)
-
FILTER_NONE
andFILTER_ALL
are top level constants (imported insaqc.__init__
) - renamed
maskTime
toselectTime
-
SaQC.data
returnsdios.DictOfSeries
-
SaQC.flags
returnsdios.DictOfSeries
orpd.DataFrame
-
SaQC.data
andSaQC.flags
are not mutated by function calls - renamed
History.max
toHistory.squeeze
- renamed parameter
freq
of function flagByStray towindow
-
DmpScheme
: setDFILTER_DEFAULT
to 1 in order to not mask the flag 'OK'
Removed
- data accessors
SaQC.result
,SaQC.data_raw
,SaQC.flags_raw
Fixed
-
flagOffset
failure on falsythresh
-
flagCrossStatistics
failure on unaligned input variables -
plot
data loss when using dfilter kwarg -
correctDrift
: failure on single value intervals -
concatFlags
: information loss by appending squeezed histories -
interpolateInvalid
: replace flags by interpolated values -
resample
: pass resampling function tohistory.appy()
-
tools.seasonalMask
: mask swapping withinclude_bounds=True
-
flagGeneric
:- fixed inconsistent history meta writing
- fixed handling of existing flags
-
proGeneeric
: fixed inconsistent history meta writing -
docs
: removed documentation of data/flags parameters from automatic sphinx doc
2.0.1 - 2021-12-20
Added
- CLI now accepts remote configuration and data files as URL
- new function
transferFlags
- improved error messages from
flagGeneric
andprocessGeneric
- new
ax_kwargs
keyword toSaQC.plot
function
Changed
- generate documentation from the
develop
branch - doctest is now ran upon push to the
develop
branch, failing doc snippets cause CI-pipeline to fail - renamed function
flagCrossStatistic
toflagCrossStatistics
Removed
- removed function
flagDriftFromScaledNorm
- removed
stats
keywords and functionality fromSaQC.plot
function
Fixed
- RDM/UFZ logos:
- use the English versions of the respective images
- use full URLs instead of the repository local URLs in
README.md
- fix code snippets in
README.md
- fix version confusion
-
copyField
: fix misleading error message -
flagGeneric
: fix failure on empty data - existing
target
variables led to function calls ontarget
instead offield
- the functions
flagDriftFromNorm
,flagDriftFromReference
,flagCrossStatistics
andflagMVScores
now properly support the field-target workflow -
field
was not masked for resampling functions - allow custom registered functions to overwrite built-ins.
2.0.0 - 2021-11-25
This release marks the beginning of a new release cycle. Basically the entire system got reworked between versions 1.4 and 2.0, a detailed changelog is not recoverable and/or useful.