Commit 7eaa73e1 authored by Gitlab Runner's avatar Gitlab Runner
Browse files

merge config/manual updates

parent 04c4533a
# Station: Cosmic Ray Sensor 18 - UFZ-Gelände Leipzig
varname ; test
# ----- ; ----
'.*' ; breaks.flagMissing(nodata=NAN)
# quality control
# ---------------
N1Cts ; outliers.flagRange(min=100, max=3000)
N1ET_sec ; outliers.flagRange(min=1, max=10000)
p1 ; outliers.flagRange(min=1, max=1100)
p4_mb ; outliers.flagRange(min=1, max=1100)
RH1 ; outliers.flagRange(min=0, max=100)
N1RH ; outliers.flagRange(min=0, max=100)
RHX ; outliers.flagRange(min=0, max=100)
T1 ; outliers.flagRange(min=-60, max=60)
T_CS215 ; outliers.flagRange(min=-60, max=60)
N1T ; outliers.flagRange(min=-60, max=60)
Vbat ; outliers.flagRange(min=10, max=20)
# convert units
# -------------
N ; generic.process(func= N1Cts / N1ET_sec * 3600)
N_cleaned ; generic.process(func=N)
# quality control - new variables
# ---------------
N ; outliers.flagRange(min=500, max=5000)
N_cleaned ; outliers.flagRange(min=500, max=5000)
# data corrections/processing
# ---------------------------
ah ; generic.process(func=6.112 * exp(17.67 * T_CS215/(243.5 + T_CS215))/(273.15 + T_CS215) * 2.1674 * RHX)
correct_h ; generic.process(func=1 + 0.0054 * (ah - 0))
correct_p ; generic.process(func=exp((p4_mb - 1013.25) / 136))
correct_inc ; generic.process(func=1/(1 - 1 * (1 - NM / 150)))
N_corrected ; generic.process(func=N * correct_p * correct_h * correct_inc)
# soil moisture calculation
# -------------------------
SM ; calcSoilMositure(neutrons_field="N_corrected", n0=5100, lattice_water=0.0043, bulk_density=1.6, soil_org_carbon=0.0050)
SM ; outliers.flagRange(min=0, max=0.7)
# rename variables to match the DMP names
# ---------------------------------------
RH1 ; tools.copy(new_field="h1")
RHX ; tools.copy(new_field="RH_CS215")
T1 ; tools.copy(new_field="t1")
Vbat ; tools.copy(new_field="bat")
# flag everything
# ----------------------------
'.*' ; generic.flag(func=~isflagged(this), flag=GOOD)
# manual flag file for logger 1567
# allows to explicitly set flags for given time periods
#
# format description:
# - column seperator: ;
# - comments: #
# - header line: variable ; start_date ; end_date ; flag
# - date format: $Y-%m-%d %H:%M:%S (e.g. 2021-02-28 12:36:00)
# - possible flag values: BAD, DOUBTFUL, OK
variable ; start_date ; end_date ; flag
# ------ ; ------------------- ; ------------------- ; --------
# p1 ; 2020-01-01 00:00:00 ; 2020-01-31 16:00:00 ; DOUBTFUL
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment