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
acb55b77
Commit
acb55b77
authored
5 years ago
by
David Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
Update SoilMoistureTests.md
parent
cc11f4d7
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
docs/funcs/SoilMoisture.md
+27
-26
27 additions, 26 deletions
docs/funcs/SoilMoisture.md
with
27 additions
and
26 deletions
docs/funcs/SoilMoisture.md
+
27
−
26
View file @
acb55b77
...
...
@@ -43,27 +43,29 @@ the algorithm and the available parameters please refer to the documentation of
## soilMoisture_breaks
```
soilMoisture_breaks(
diff_method="raw", filter_window_size="3h"
,
rel_change_rate_min=0.1, abs_change_min=0.01, first_der_factor=10
,
first_der_window_size="12h"
, scnd_der_ratio_
margin_1=0.05
,
scnd_der_ratio_margin_2=10
, smooth_poly_
or
de
r
=2)
soilMoisture_breaks(
thresh_rel=0.1, thresh_abs=0.01
,
first_der_factor=10, first_der_window="12h"
,
scnd_der_ratio_range=0.05
, scnd_der_ratio_
thresh=10
,
smooth=False, smooth_window="3h"
, smooth_poly_de
g
=2)
```
| parameter
| data type
| default value |
description |
|
------
| ------ | ------ | ----
|
|
diff_method | string |
`"raw"`
|
|
|
filter_window_size | string
|
`
"3h"
`
|
|
|
rel_change_rate_min | float |
`0.1`
|
|
|
abs_change_min | float |
`0.01`
|
|
|
first_der_factor | inte
ge
r
|
`
10`
|
|
|
first_der_window_size | string |
`"12h"`
|
|
| s
cnd_der_ratio_margin_1 | float |
`0.05`
|
|
| s
cnd_der_ratio_margin_2 | float |
`10.0`
|
|
| smooth_poly_
or
de
r
|
integer |
`2`
|
|
| parameter | default value |
|------
-----------------|---------------
|
|
thresh_rel
|
`0.1`
|
|
thresh_abs
|
`
0.01
`
|
|
first_der_factor |
`10`
|
|
first_der_window |
`"12h"`
|
|
scnd_der_ratio_ran
ge |
`
0.05`
|
|
scnd_der_ratio_thresh |
`10.0`
|
| s
mooth |
`False`
|
| s
mooth_window |
`"3h"`
|
| smooth_poly_de
g
|
`2`
|
The Function is a wrapper around
[
breaks_spektrumBased
](
docs/funcs/BreakDetection.md#breaks_spektrumbased
)
,
with a set of default parameters referring to [1].
The Function is a wrapper around
`breaks_spektrumBased`
with a set of default parameters referring to [1]. For a complete description of
the algorithm and the available parameters please refer to the documentation of
[
breaks_spektrumBased
](
docs/funcs/BreakDetection.md#breaks_spektrumbased
)
.
[1] Dorigo, W. et al: Global Automated Quality Control of In Situ Soil Moisture
Data from the international Soil Moisture Network. 2013.
...
...
@@ -74,9 +76,9 @@ with a set of default parameters referring to [1].
```
soilMoisture_plateaus(plateau_window_min="12h", plateau_var_limit=0.0005,
rainfall_window_range="12h", var_total_nans=np.inf,
var_consec_nans=np.inf, derivative_max_lb=0.0025,
derivative_min_ub=0, data_max_tolerance=0.95,
rainfall_window_range="12h", var_total_nans=np.inf,
var_consec_nans=np.inf, derivative_max_lb=0.0025,
derivative_min_ub=0, data_max_tolerance=0.95,
filter_window_size=None, smooth_poly_order=2)
```
...
...
@@ -98,10 +100,10 @@ soilMoisture_plateaus(plateau_window_min="12h", plateau_var_limit=0.0005,
NOTE, that the dataseries-to-be flagged is supposed to be harmonized to an
equadistant frequency grid.
The function represents a stricter version of the
`constant_varianceBased`
test from the constants detection library. The added constraints for values to
be flagged (3)-(5), are designed to match the special case of constant value courses of
soil moisture meassurements and basically check the derivative for being
The function represents a stricter version of the
`constant_varianceBased`
test from the constants detection library. The added constraints for values to
be flagged (3)-(5), are designed to match the special case of constant value courses of
soil moisture meassurements and basically check the derivative for being
determined by preceeding rainfall events ((3) and (4)), as well as the plateau
for being sufficiently high in value (5).
...
...
@@ -110,7 +112,7 @@ $`x_k,..., x_{k+n}`$, of a timeseries $`x`$ is flagged, if:
1.
$
`n > `
$
`plateau_window_min`
2.
$
`\sigma(x_k, x_{k+1},..., x_{k+n}) < `
$
`plateau_var_limit`
3.
$
`\max(x'_{k-n-s}, x'_{k-n-s+1},..., x'_{k-n+s}) \geq`
$
`derivative_max_lb`
, with $
`s`
$ denoting periods per
`rainfall_range`
3.
$
`\max(x'_{k-n-s}, x'_{k-n-s+1},..., x'_{k-n+s}) \geq`
$
`derivative_max_lb`
, with $
`s`
$ denoting periods per
`rainfall_range`
4.
$
`\min(x'_{k-n-s}, x'_{k-n-s+1},..., x'_{k-n+s}) \leq`
$
`derivative_min_ub`
, with $
`s`
$ denoting periods per
`rainfall_range`
5.
$
`\mu(x_k, x_{k+1},..., x_{k+n}) < \max(x) \times`
$
`plateau_var_limit`
...
...
@@ -199,4 +201,3 @@ from the international Soil Moisture Network. 2013. Vadoze Zone J.
doi:10.2136/vzj2012.0097.
All parameters default to the values, suggested in this publication.
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