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
6275d37a
Commit
6275d37a
authored
5 years ago
by
David Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
Update SOilMoisture.md
parent
b1ff199b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/funcs/SoilMoisture.md
+15
-17
15 additions, 17 deletions
docs/funcs/SoilMoisture.md
saqc/funcs/soil_moisture_tests.py
+4
-4
4 additions, 4 deletions
saqc/funcs/soil_moisture_tests.py
with
19 additions
and
21 deletions
docs/funcs/SoilMoisture.md
+
15
−
17
View file @
6275d37a
...
...
@@ -128,29 +128,27 @@ This Function is based on [1] and all default parameter values are taken from th
## soilMoisture_byFrost
```
soilMoisture_byFrost(soil_temp_variable,
tolerated_deviation
="1h", frost_
level
=0)
soilMoisture_byFrost(soil_temp_variable,
window
="1h", frost_
thresh
=0)
```
| parameter
| data type | default value | description |
|--------------------
-
|---------------------------------------------------------------|---------------|------------------------------------------------------------|
| soil_temp_variable
| string | | Name of the soil temperature variable given in the dataset |
|
tolerated_deviation
|
[
offset string
](
docs/ParameterDescriptions.md#offset-strings
)
|
`"1h"`
| Window around a value checked for frost events |
| frost_
level
| float |
`0`
| Soil temperature
to
consider as frost
|
| parameter | data type | default value | description
|
|--------------------|---------------------------------------------------------------|---------------|------------------------------------------------------------
---
|
| soil_temp_variable | string | | Name of the soil temperature variable given in the dataset
|
|
window
|
[
offset string
](
docs/ParameterDescriptions.md#offset-strings
)
|
`"1h"`
| Window around a value checked for frost events
|
| frost_
thresh
| float |
`0`
| Soil temperature
below
`frost_thresh`
are
consider
ed
as frost |
The function flags Soil moisture measurements by evaluating the soil-frost-level
in the moment of measurement (+/-
`tolerated deviation`
).
Soil temperatures below "frost_level" are regarded as denoting frozen soil
state and result in the checked soil moisture value to get flagged.
This function flags soil moisture values if the soil temperature
(given in
`soil_temp_variable`
) drops below
`frost_thresh`
within a periode of +/-
`window`
.
This Function is an implementation of the soil temperature based Soil Moisture
flagging, as presented in:
Dorigo, W. et al: Global Automated Quality Control of In Situ Soil Moisture Data
from the international Soil Moisture Network. 2013. Vadoze Zone J.
doi:10.2136/vzj2012.0097.
This Function is an implementation of the soil temperature based flagging
as presented in [1] and all default parameter values are taken from this
publication.
All parameters default to the values, suggested in this publication.
[1] Dorigo, W. et al: Global Automated Quality Control of In Situ Soil Moisture Data
from the international Soil Moisture Network. 2013. Vadoze Zone J.
doi:10.2136/vzj2012.0097.
## soilMoisture_byPrecipitation
...
...
This diff is collapsed.
Click to expand it.
saqc/funcs/soil_moisture_tests.py
+
4
−
4
View file @
6275d37a
...
...
@@ -96,8 +96,8 @@ def flagSoilMoistureBySoilFrost(
field
,
flagger
,
soil_temp_variable
,
tolerated_deviation
=
"
1h
"
,
frost_
level
=
0
,
window
=
"
1h
"
,
frost_
thresh
=
0
,
**
kwargs
):
...
...
@@ -138,8 +138,8 @@ def flagSoilMoistureBySoilFrost(
if
refseries
.
empty
:
return
data
,
flagger
refseries
=
refseries
.
reindex
(
data
[
field
].
dropna
().
index
,
method
=
"
nearest
"
,
tolerance
=
tolerated_deviation
)
refseries
=
refseries
[
refseries
<
frost_
level
].
index
refseries
=
refseries
.
reindex
(
data
[
field
].
dropna
().
index
,
method
=
"
nearest
"
,
tolerance
=
window
)
refseries
=
refseries
[
refseries
<
frost_
thresh
].
index
flagger
=
flagger
.
setFlags
(
field
,
refseries
,
**
kwargs
)
return
data
,
flagger
...
...
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