Instrument guide Fluxes:CSATCSAT + Li7500CSAT + KH20
Update 17/06/2011Simone KotthausPrevious version: 11/07/201015/12/2010
General Information• Raw data on I –drive, all other on dataBridge01 (A drive on Otago)• Intermediate results and plots are stored on A:/works• Final results and formatted raw data are stored on A:/data• File formats of txt files (raw data) can be found in
A:/data/META/London/KUMA_logbook.xls• (Internal information: File formats of netcdf according to /META/file.csv)
• The task is scheduled on Data02 to run at 1:30 am: 30 1 * * * cd /home/micromet/Roofprograms/ECFluxes/; ./FLUX_V5.sh• For troubleshooting, see below• If changes to the instrument setting are made, update location and
calibration file, for details see below
Content Working directoryA:/works/YYYY/London/
Output directoryA:/data/YYYY/London/
No QAQC Level_1/ECFluxes/ECpack L0
QAQC Level_2/ECFluxes/ECpack L1
QAQC and IMAS Level_3/ECFluxes/ECpack L2
LoggerNetKSK Mast 10_09_10.CR5
C:\CR5000\Fast\CR5000_Fast.dat
ROOF8
KH20H2O
CSAT3u, v, w, Ts CR5000
Data Logger
KSK Mast
wires
LoggerNetKSS tower 01_09_10.CR5C:\CR5000\CR5000_Fast.datwhich is on Otago linked toT:\CR5000\CR5000_Fast.dat
ROOF13
Li7500H2O, CO2
CSAT3u, v, w, Ts CR5000
Data Logger
KSS Tower
wires
OTAGO
HourlySplitKSK [hh:18]D:\Cr5000_outdata\KSK\fastHourly\KSKFast_YYDOY_HH.txt
HourlySplit [hh:28]D:\Cr5000_outdata\KSS\fastHourly\KSSFast_YYDOY_HH.txt
GAS-LAS-WXT-Ceil [hh:15]• grabs CSAT hourly data to I:\Data\YYYY\London\KSK\CSAT_Hrly\MM\KSKFastYYDOY_HH.txt\KSS\CSAT_Hrly\MM\KSSFastYYDOY_HH.txt
• The Otage drive I:\Data is mounted to Data02 under /media/London-I
• Output server databridge01 is mounted to Data02 under /media/micromet
1) LondonFlux_V11.R1) Calculate 30min averages to $OUT/$name_$site_$YY$DOY_30min.nc 3) write input files for ECpack to $WORK/Ecpack/$MM4) Plot 30 min averages to $WORK/Level_1/ECFluxes/plots/$MM
2) runECpack_V9.sh London specific info and data files required• KSK and KSS for L0 , L1, L2 input, averaging interval = 30 min• output to
$WORK/Level_?/ECFluxes/Ecpack/$site/$MM/Fluxout_$site_$YY$DOY.txt
Data02cronjob: FLUX_V5.sh [daily task: 01:30]Processing for KSK and KSS using Ecpack$OUT= /media/micromet/data/$yyyy/London/$level/$site/DAY $WORK=/media/micromet/works/$yyyy/London/
3) LondonFluxOut_V9.R• Final quality control, plot results, store netcdf on databridge:
$OUT/CSAT_Ecpack_$name_$site_$YY$DOY_30min.ncPlot results to $WORK/Level_1/ECFluxes/plots/$MM/.$plotname.png
back
CSAT
(gre
en)
Pow
er fo
r CSA
T (r
ed)
Gro
und
for C
SAT
(c
lear
/bla
ck)
Pow
er fo
r KH
20 (
red)
KH20
(gre
en)
KH20
(red
)
CSAT
(whi
te)
KH20
(whi
te/c
lear
)
G 12 V
CSAT
(bro
wn)
KH20
(bla
ck)
SDM-C1 SDM-C2 SDM-C3H
20L G
Gro
und
KH20
(bla
ck)
1) Sonic anemometer: CSAT32) Infrared gas analyser: KH20
2
21 1
KSK mast
wire
ext
ensi
on
BUT currently:No gas analyser in
operation!
back
CSAT
(gre
en)
LI-7
500
(gre
en)
LI-7
500
(red
)
LI-7
500
(yel
low
)
Pow
er fo
r CSA
T (r
ed)
Gro
und
for C
SAT
(blu
e)
CSAT
(whi
te)
G 12 V G12 V
CSAT
(bro
wn)
SDM-C1 SDM-C2 SDM-C3LI
-750
0 (b
lue)
CSAT
(bla
ck)
(blu
e)
(bro
wn)
(gre
y)
Cable extension for LICOR
(signal conversion)
WXT510
CSAT3
LiCo
r750
0
Sky
sens
ors
CNR1
(bla
ck)
(red
)
Separate power supplyfor LI-7500, connected to Logger power supply
- +
KSS tower
Linux Scheduled Task = cronjobCrontab = list of current cronjobs
To display current crontab, type ‘crontab -l’ which should result in: SHELL=/bin/bashPATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/binHOME=/home/simon25 2 * * * /home/simon/Roof/ECFluxes/FLUX_V9.sh1 5 * * * /home/simon/Roof/ECFluxes/append_DiagSummary.sh
To make changes, edit crontab with ‘crontab -e’.
minute past the hour
hour of the day
location/name of cronjobevery day of weekevery month
every day
back
runEcpack.sh needs the following input:
Working directories: A:/works/yyyy/London/Level_1/ECFluxes/Ecpack/site/MM/A:/works/yyyy/London/Level_2/ECFluxes/Ecpack/site/MM/A:/works/yyyy/London/Level_3/ECFluxes/Ecpack/site/MM/
• Daily data files: siteCSAT_yyDOY.nc• Calibration files CSAT_London_site_yyDOY.qq, H2O_London_site_yyDOY.qq• Time and reference data information: ectimes_30_yyDOY.txt• Planar fit boundaries planint_yyDOY.datControl files are stored under /home/simon/ECFluxes/Ecpack• ecconf_London_CSAT or ecconf_London_CSAT_Li7500 or
ecconf_London_CSAT_KH20 is used according to instrument setting, these files also specify which sec_London.dat is needed
Perform after PF:standard reference frame for sonic measurements
Coordinate System
• Planar Fit Method (Wilczak et al. 2001)
Planar least squares fit applied to collection of run mean horizontal & vertical velocities to find b-constants. Use boundaries of min. 24h to include different wind directions Assumption of stationary instrument position
• Double Coordinate Rotation (Kaimal and Finnigan 1994)
1) Yaw-correction: fix z-axes
2) Pitch-correction: fix y-axes
Strong winds can result in unreasonable tilt angles, hence not advisable
mmm vbubbw 210
0v
0w
• Speed of sound depends temperature and humidity
Correct covariance
Correction of sonic temperature for humidity (Schotanus et al. 1983)
q
TT s
51.01
''51.0''51.0'''' qwTwTqwTwT sss
• Fluctuations in air density contribute to non-zero vertical velocities
Ad Webb-term for turbulent fluxes
WPL-correction (Webb et al. 1980)
u
uwk
w
T
Twkw
v
v ''2
''''1
• limited frequency response of sensors• averaging over path rather than taking a point value• separation between sensors for different quantities compare measured spectra with theoretical spectra
Correction for frequency losses (Moore 1986, Horst 1999)
Settings: sensor positions
Example - EC_orientation.csv
Site zs zd zp csatSNdegCSAT
irgaType
irgaSNdegIRGA
drcnIRGA
sep
sepX
sepY begin end
KSK 48.1 19 29.1 0192-2 175 1 75H-0995 175 355 18 18 0 2008001 2009274
KSK 48.1 19 29.1 1188-1 190 0 NA NA NA NA NA NA 2009275 2010238
KSK 48.1 19 29.1 1188-1 240 2 1122 220 30 15 12 5 2010238 2015001
KSS 59.6 19 37.6 0192-2 260 1 75H-0995 260 80 14 14 0 2009274 2015001
• zs = sensor height, zd = displacement height, zp = z’ = zs – zd
• begin, end = YYYYDOY• csatSN = CSAT3 serial number, irgaSN = serial number of gas analyser• irgaType = type of infrared gas analyser, 0=none, 1=Li7500, 2=KH20
1) degCSAT = degree CSAT head towards N2) degIRGA = degree KH20 or Li7500 towards N3) drcnIRGA = direction from CSAT3 towards IRGA = sitting in CSAT
volume looking towards IRGA volume as degree from north4) sep = separation from CSAT volume to IRGA volume in cm5) sepX = separation from CSAT volume to IRGA volume, x
component – referring to CSAT3 right hand side coordinate system6) sepY = separation from CSAT volume to IRGA volume, y
component
N
TroubleshootThe most common failure is caused by an interference between
hourly split and WXT-programme:• An hourly file is a) not or b) just partly (first 6 minutes) transferred from
D:\CR3000_outdata\ to I:\Data\London\$site\YYYY\CSAT_Hrly\MM\
Procedure:1. Compare data availability in both directories2. a) Copy file from D:\... To I:\...
b) open hourly file in both directories and append data from D:\... to the file in I:\...
3. Login on Data02 via putty4. Go to script path “cd /home/micromet/Roofprograms/ECFluxes/”5. Rerun the scheduled task “./FLUX_V9.sh”If you want to rerun the process for a day other that yesterday, run
“./FLUX_V9_rerun.sh N”With N = number of days before today (e.g. Day before yesterday would be N=2)
back