To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 28f5ce62 authored by holukas's avatar holukas
Browse files

Added datablocks

parent b99f1390
......@@ -2,9 +2,12 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="254ecb79-655b-4854-8af6-177bb7347e8a" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/Bico.settings" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/Bico.settings" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/Bico.settingsOld" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/Bico.settingsOld" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/_version.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/_version.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/LGR-A.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/LGR-A.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/LGR-A.md" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/LGR-A.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/HS50-B.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/HS50-B.dblock" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -314,7 +317,10 @@
<workItem from="1610015969067" duration="13596000" />
<workItem from="1610057500140" duration="16000" />
<workItem from="1610058040204" duration="27000" />
<workItem from="1610099095747" duration="877000" />
<workItem from="1610099095747" duration="1606000" />
<workItem from="1610135291866" duration="1775000" />
<workItem from="1610145522443" duration="1445000" />
<workItem from="1610235475279" duration="791000" />
</task>
<servers />
</component>
......@@ -334,6 +340,11 @@
<line>142</line>
<option name="timeStamp" value="28" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/bico/ops/bin.py</url>
<line>192</line>
<option name="timeStamp" value="31" />
</line-breakpoint>
</breakpoints>
<default-breakpoints>
<breakpoint type="python-exception">
......@@ -352,7 +363,7 @@
<SUITE FILE_PATH="coverage/BICO$main.coverage" NAME="bico Coverage Results" MODIFIED="1598258463691" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bico" />
<SUITE FILE_PATH="coverage/BICO_Binary_Converter$gui.coverage" NAME="gui Coverage Results" MODIFIED="1606435918815" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bico" />
<SUITE FILE_PATH="coverage/BICO_Binary_Converter$main.coverage" NAME="main Coverage Results" MODIFIED="1596498134562" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bico" />
<SUITE FILE_PATH="coverage/BICO_Binary_Converter$start_bico.coverage" NAME="start_bico Coverage Results" MODIFIED="1610055914638" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bico" />
<SUITE FILE_PATH="coverage/BICO_Binary_Converter$start_bico.coverage" NAME="start_bico Coverage Results" MODIFIED="1610235479171" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bico" />
<SUITE FILE_PATH="coverage/BICO_Binary_Converter$example.coverage" NAME="example Coverage Results" MODIFIED="1606348759035" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/example" />
</component>
</project>
\ No newline at end of file
run_id=BICO-20210107-224515
run_id=BICO-20210110-003801
# INSTRUMENTS
# ===========
# Site
site=CH-CHA
site=CH-DAV
# Data Blocks
header=WECOM3
instrument_1=R350-A
instrument_2=IRGA75-A
instrument_3=QCL-A3
instrument_1=HS50-B
instrument_2=IRGA72-B
instrument_3=-None-
# RAW DATA
# ========
# Source Folder
dir_source=Y:/CH-CHA_Chamau/20_sonic_ghg/2018/11
dir_source=Y:/CH-DAV_Davos/20_sonic_ghg/2015
# Time Range
start_date=2018-11-27 09:00
end_date=2018-11-30 23:00
start_date=2015-06-01 08:00
end_date=2015-11-01 23:00
# File Settings
filename_datetime_format=yyyymmddHH.CMM
file_ext=*.C*
filename_datetime_format=yyyymmddHH.dMM
file_ext=*.d*
file_size_min=900
file_limit=0
row_limit=1000
row_limit=10
# Special
select_random_files=5
select_random_files=50
# OUTPUT
# ======
dir_out=A:/FLUXES/x-TEST-OUT
dir_out_run=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots\agg
dir_out_run_raw_data_csv=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\raw_data_csv
dir_out_run=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801
dir_out_run_log=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots\agg
dir_out_run_raw_data_csv=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\raw_data_csv
output_folder_name_prefix=CHA
output_folder_name_prefix=DAV_2015
file_compression=None
plot_file_availability=0
plot_ts_hires=0
plot_histogram_hires=0
plot_ts_agg=0
plot_ts_agg=1
# DIRECTORIES
# ===================
......
run_id=BICO-20210107-224515
run_id=BICO-20210110-003801
# INSTRUMENTS
# ===========
# Site
site=CH-CHA
site=CH-DAV
# Data Blocks
header=WECOM3
instrument_1=R350-A
instrument_2=IRGA75-A
instrument_3=QCL-A3
instrument_1=HS50-B
instrument_2=IRGA72-B
instrument_3=-None-
# RAW DATA
# ========
# Source Folder
dir_source=Y:/CH-CHA_Chamau/20_sonic_ghg/2018/11
dir_source=Y:/CH-DAV_Davos/20_sonic_ghg/2015
# Time Range
start_date=2018-11-27 09:00
end_date=2018-11-27 23:00
start_date=2015-06-01 08:00
end_date=2015-11-01 23:00
# File Settings
filename_datetime_format=yyyymmddHH.CMM
file_ext=*.C*
filename_datetime_format=yyyymmddHH.dMM
file_ext=*.d*
file_size_min=900
file_limit=1
row_limit=1000
file_limit=0
row_limit=10
# Special
select_random_files=0
select_random_files=10
# OUTPUT
# ======
dir_out=A:/FLUXES/x-TEST-OUT
dir_out_run=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\plots\agg
dir_out_run_raw_data_csv=A:\FLUXES\x-TEST-OUT\CHA_BICO-20210107-224515\raw_data_csv
dir_out_run=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801
dir_out_run_log=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\plots\agg
dir_out_run_raw_data_csv=A:\FLUXES\x-TEST-OUT\DAV_2015_BICO-20210110-003801\raw_data_csv
output_folder_name_prefix=CHA
output_folder_name_prefix=DAV_2015
file_compression=None
plot_file_availability=0
......
__version__ = "0.0.6"
__version__ = "0.0.7"
__date__ = "8 Jan 2021"
__link_source_code__ = "https://gitlab.ethz.ch/holukas/bico"
__link_releases__ = "https://gitlab.ethz.ch/holukas/bico/-/releases"
......
# ========================
# HS-50 - SONIC ANEMOMETER
# ========================
# =========================
# HS50-B - SONIC ANEMOMETER
# =========================
# Details: see HS50-B.md
U == {'order': 1, 'bytes': 2, 'format': '>h', 'gain_on_signal': 100, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'm+1_s-1', 'datablock': 'HS50-B'}
......
# =============================================
# IRGA72-B - INFRARED GAS ANALYZER (LICOR 7200)
# =============================================
# Details: see IRGA72-B.md
DATA_SIZE == {'order': 1, 'bytes': 1, 'format': 'B', 'gain_on_signal': 1, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'Bytes', 'datablock': 'IRGA72-A'}
STATUS_CODE == {'order': 2, 'bytes': 1, 'format': 'B', 'gain_on_signal': 1, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'status_code_irga', 'datablock': 'IRGA72-A'}
GA_DIAG_CODE == {'order': 3, 'bytes': 1, 'format': 'B', 'gain_on_signal': 1, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'bit_map', 'datablock': 'IRGA72-A'}
H2O_DRY == {'order': 4, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 1000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'mmol+1_mol-1', 'datablock': 'IRGA72-A'}
CO2_DRY == {'order': 5, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 10000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'umol+1_mol-1', 'datablock': 'IRGA72-A'}
H2O_CONC == {'order': 6, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 1000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'mmol+1_m-3', 'datablock': 'IRGA72-A'}
CO2_CONC == {'order': 7, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 10000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'mmol+1_m-3', 'datablock': 'IRGA72-A'}
T_CELL == {'order': 8, 'bytes': 2, 'format': 'B B', 'gain_on_signal': 100, 'offset_on_signal': 100, 'apply_gain': 1, 'add_offset': 0, 'units': 'degC', 'datablock': 'IRGA72-A'}
PRESS_CELL == {'order': 9, 'bytes': 2, 'format': 'B B', 'gain_on_signal': 10, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'hPa', 'datablock': 'IRGA72-A'}
PRESS_BOX == {'order': 10, 'bytes': 2, 'format': 'B B', 'gain_on_signal': 10, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'hPa', 'datablock': 'IRGA72-A'}
COOLER_V == {'order': 11, 'bytes': 2, 'format': 'B B', 'gain_on_signal': 1000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'V', 'datablock': 'IRGA72-A'}
FLOW_VOLRATE == {'order': 12, 'bytes': 2, 'format': 'B B', 'gain_on_signal': 1000, 'offset_on_signal': 0, 'apply_gain': 1, 'add_offset': 0, 'units': 'L+1 min-1', 'datablock': 'IRGA72-A'}
# Values extracted from GA_DIAG_CODE:
# -----------------------------------
SIGNAL_STRENGTH == {'order': 3.11, 'bit_pos_start': 0, 'bit_pos_end': 4, 'apply_gain': 6.6666666666666666, 'add_offset': 0, 'units': '%', 'output': 1, 'datablock': 'IRGA72-A'}
UNUSED == {'order': 3.01, 'bit_pos_start': 4, 'bit_pos_end': 7, 'apply_gain': 1, 'add_offset': 0, 'units': 'unused', 'output': 0, 'datablock': 'IRGA72-A'}
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