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 4333c10b authored by holukas's avatar holukas
Browse files

New datablock and minor adjustments

parent 7f046226
......@@ -2,23 +2,16 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="254ecb79-655b-4854-8af6-177bb7347e8a" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/BICO_Binary_Converter.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/BICO_Binary_Converter.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B-GN1.dblock" afterDir="false" />
<change afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B-GN1.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/CHANGELOG.md" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/bico.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/bico.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/gui/gui.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/gui/gui.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/ops/vis.py" beforeDir="false" afterPath="$PROJECT_DIR$/bico/ops/vis.py" 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/IRGA72-A.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-A.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-A.md" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-A.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B.md" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA72-B.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A-GN1.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A-GN1.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A-GN1.md" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A-GN1.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A.dblock" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A.dblock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A.md" beforeDir="false" afterPath="$PROJECT_DIR$/bico/settings/data_blocks/IRGA75-A.md" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -58,7 +51,7 @@
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../CH-DAV - 1997-2005_raw_format" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/bico/settings/data_blocks" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="restartRequiresConfirmation" value="false" />
......@@ -363,6 +356,16 @@
<workItem from="1613923026962" duration="1455000" />
<workItem from="1614037555738" duration="2930000" />
<workItem from="1614089533601" duration="7154000" />
<workItem from="1614119752294" duration="40000" />
<workItem from="1614208100413" duration="1283000" />
<workItem from="1614245370571" duration="47000" />
<workItem from="1614387476675" duration="40000" />
<workItem from="1614438255816" duration="43000" />
<workItem from="1614460032757" duration="596000" />
<workItem from="1614611439828" duration="26000" />
<workItem from="1614680858320" duration="5020000" />
<workItem from="1614812974189" duration="2452000" />
<workItem from="1614846576339" duration="2826000" />
</task>
<servers />
</component>
......@@ -386,7 +389,7 @@
<breakpoints>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/bico/bico.py</url>
<line>420</line>
<line>424</line>
<option name="timeStamp" value="41" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
......@@ -396,13 +399,13 @@
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/bico/ops/bin.py</url>
<line>400</line>
<option name="timeStamp" value="186" />
<line>360</line>
<option name="timeStamp" value="188" />
</line-breakpoint>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/bico/ops/bin.py</url>
<line>403</line>
<option name="timeStamp" value="187" />
<line>378</line>
<option name="timeStamp" value="189" />
</line-breakpoint>
</breakpoints>
<default-breakpoints>
......@@ -423,7 +426,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="1614098683212" 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="1614862417172" 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
# BICO Changelog
## v0.5.1 - 4 Mar 2021
- added: datablock `IRGA72-B-GN1.dblock`
- added: link to datablock descriptions
- the BICO run id is now shown in the "BICO finished." text message
- some minor text adjustments, clarifications in datablock descriptions
## v0.5.0 - 23 Feb 2021
- bug: wrong number of bits for SIGNAL_STRENGTH in `IRGA72-B.dblock`
- bug: reading order for extracted variables was wrong in `IRGA72-B.dblock`
......
......@@ -52,6 +52,9 @@ class Bico(qtw.QMainWindow, Ui_MainWindow):
self.connections()
def run(self):
self.btn_ctr_save.setDisabled(True)
self.btn_ctr_run.setDisabled(True)
# Setup run
self.get_settings_from_gui()
self.settings_dict = ops.setup.make_run_outdirs(settings_dict=self.settings_dict)
......@@ -120,7 +123,7 @@ class Bico(qtw.QMainWindow, Ui_MainWindow):
self.logger.info("")
self.logger.info("")
self.logger.info("=" * 20)
self.logger.info("BICO FINISHED.")
self.logger.info(f"[{self.run_id}] BICO FINISHED.")
self.logger.info("=" * 20)
def make_datetime_parsing_string(self):
......@@ -251,6 +254,7 @@ class Bico(qtw.QMainWindow, Ui_MainWindow):
"""Connect GUI elements to functions"""
# Logo
self.lbl_link_changelog.linkActivated.connect(self.link)
self.lbl_link_datablocks.linkActivated.connect(self.link)
self.lbl_link_releases.linkActivated.connect(self.link)
self.lbl_link_source_code.linkActivated.connect(self.link)
self.lbl_link_license.linkActivated.connect(self.link)
......
......@@ -80,14 +80,16 @@ class Ui_MainWindow(object):
self.lbl_link_changelog = gui_elements.add_label_link_to_grid(
link_txt='Changelog', link_str=info.__link_changelog__, grid=grid, row=5)
self.lbl_link_datablocks = gui_elements.add_label_link_to_grid(
link_txt='Data Blocks', link_str=info.__link_datablocks__, grid=grid, row=6)
self.lbl_link_releases = gui_elements.add_label_link_to_grid(
link_txt='Releases', link_str=info.__link_releases__, grid=grid, row=6)
link_txt='Releases', link_str=info.__link_releases__, grid=grid, row=7)
self.lbl_link_source_code = gui_elements.add_label_link_to_grid(
link_txt='Source Code', link_str=info.__link_source_code__, grid=grid, row=7)
link_txt='Source Code', link_str=info.__link_source_code__, grid=grid, row=8)
self.lbl_link_license = gui_elements.add_label_link_to_grid(
link_txt='License', link_str=info.__license__, grid=grid, row=8)
link_txt='License', link_str=info.__license__, grid=grid, row=9)
self.lbl_link_help = gui_elements.add_label_link_to_grid(
link_txt='Help', link_str=info.__link_wiki__, grid=grid, row=9)
link_txt='Help', link_str=info.__link_wiki__, grid=grid, row=10)
grid.addWidget(label_image, 0, 0)
grid.addWidget(qtw.QLabel(), 1, 0)
......@@ -95,7 +97,7 @@ class Ui_MainWindow(object):
grid.addWidget(label_txt2, 3, 0)
grid.addWidget(label_txt3, 4, 0)
grid.setRowStretch(10, 1)
grid.setRowStretch(11, 1)
section.setLayout(grid)
return section
......@@ -183,8 +185,8 @@ class Ui_MainWindow(object):
# Data Blocks
sonic_anemometers = ['HS50-A', 'HS50-B', 'HS100-A', 'R2-A','R350-A', '-None-']
gas_analyzers = ['IRGA72-A', 'IRGA72-B', 'IRGA75-A', 'IRGA75-A-GN1', 'LGR-A',
'QCL-A', 'QCL-A2', 'QCL-A3', 'QCL-A4', 'QCL-C', '-None-']
gas_analyzers = ['IRGA72-A', 'IRGA72-B', 'IRGA72-B-GN1', 'IRGA75-A', 'IRGA75-A-GN1',
'LGR-A', 'QCL-A', 'QCL-A2', 'QCL-A3', 'QCL-A4', 'QCL-C', '-None-']
header_instr_data_blocks = qtw.QLabel('Data Blocks')
header_instr_data_blocks.setProperty('labelClass', 'header_2')
......
run_id=BICO-20210223-174444
run_id=BICO-20210304-135338
# INSTRUMENTS
# ===========
# Site
site=CH-DAV
site=CH-LAE
# Data Blocks
header=WECOM3
instrument_1=HS50-B
instrument_2=IRGA72-B
instrument_3=QCL-C
instrument_2=IRGA72-B-GN1
instrument_3=-None-
# RAW DATA
# ========
# Source Folder
dir_source=Y:/CH-DAV_Davos/20_sonic_ghg/2015/11/20_HS_LI72
dir_source=Y:/CH-LAE_Laegeren/20_sonic_ghg/2018/07
# Time Range
start_date=2015-11-14 07:00
end_date=2015-12-14 07:00
start_date=2018-07-01 07:00
end_date=2018-07-01 09:00
# File Settings
filename_datetime_format=yyyymmddHH.XMM
file_ext=*.X*
filename_datetime_format=yyyymmddHH.LMM
file_ext=*.L*
file_size_min=900
file_limit=0
row_limit=1000
row_limit=0
# Special
select_random_files=20
select_random_files=0
# OUTPUT
# ======
dir_out=A:/FLUXES/x-TEST-OUT
dir_out_run=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444\plots\agg
dir_out_run_raw_data_ascii=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-174444\raw_data_ascii
dir_out_run=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338\plots\agg
dir_out_run_raw_data_ascii=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-135338\raw_data_ascii
output_folder_name_prefix=CH-DAV_test
output_folder_name_prefix=CH-LAE_test
file_compression=gzip
add_instr_to_varname=1
......
run_id=BICO-20210223-173815
run_id=BICO-20210304-095509
# INSTRUMENTS
# ===========
# Site
site=CH-AES
site=CH-LAE
# Data Blocks
header=WECOM3
instrument_1=HS50-B
instrument_2=IRGA72-B
instrument_3=QCL-C
instrument_2=IRGA72-B-GN1
instrument_3=-None-
# RAW DATA
# ========
# Source Folder
dir_source=Y:/CH-DAV_Davos/20_sonic_ghg/2015/11/20_HS_LI72
dir_source=Y:/CH-LAE_Laegeren/20_sonic_ghg/2018/07
# Time Range
start_date=2015-11-14 07:00
end_date=2015-11-14 07:00
start_date=2018-07-01 07:00
end_date=2018-07-01 09:00
# File Settings
filename_datetime_format=yyyymmddHH.XMM
file_ext=*.X*
filename_datetime_format=yyyymmddHH.LMM
file_ext=*.L*
file_size_min=900
file_limit=0
row_limit=0
......@@ -35,14 +35,14 @@ select_random_files=0
# OUTPUT
# ======
dir_out=A:/FLUXES/x-TEST-OUT
dir_out_run=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815\plots\agg
dir_out_run_raw_data_ascii=A:\FLUXES\x-TEST-OUT\CH-DAV_test_BICO-20210223-173815\raw_data_ascii
dir_out_run=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509
dir_out_run_log=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509\log
dir_out_run_plots=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509\plots
dir_out_run_plots_hires=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509\plots\hires
dir_out_run_plots_agg=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509\plots\agg
dir_out_run_raw_data_ascii=A:\FLUXES\x-TEST-OUT\CH-LAE_test_BICO-20210304-095509\raw_data_ascii
output_folder_name_prefix=CH-DAV_test
output_folder_name_prefix=CH-LAE_test
file_compression=gzip
add_instr_to_varname=1
......
__version__ = "0.5.0"
__date__ = "23 Feb 2021"
__version__ = "0.5.1"
__date__ = "4 Mar 2021"
__link_changelog__ = "https://gitlab.ethz.ch/holukas/bico/-/blob/master/CHANGELOG.md"
__link_source_code__ = "https://gitlab.ethz.ch/holukas/bico"
__link_releases__ = "https://gitlab.ethz.ch/holukas/bico/-/releases"
__link_wiki__ = "https://gitlab.ethz.ch/holukas/bico/-/wikis/home"
__license__ = "https://gitlab.ethz.ch/holukas/bico/-/blob/master/LICENSE"
__link_datablocks__ = "https://gitlab.ethz.ch/holukas/bico/-/tree/master/bico/settings/data_blocks"
# =================================================
# IRGA72-B-GN1 - INFRARED GAS ANALYZER (LICOR 7200)
# =================================================
# Details: see IRGA72-B-GN1.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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
CO2_DRY == {'order': 5, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 10000, 'offset_on_signal': 0, 'apply_gain': 0.974, 'add_offset': 0, 'units': 'umol+1_mol-1', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
CO2_CONC == {'order': 7, 'bytes': 3, 'format': 'B B B', 'gain_on_signal': 10000, 'offset_on_signal': 0, 'apply_gain': 0.974, 'add_offset': 0, 'units': 'mmol+1_m-3', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
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', 'conversion_type': 'regular', 'datablock': 'IRGA72-B-GN1'}
# Values extracted from GA_DIAG_CODE:
# -----------------------------------
UNUSED == {'order': 3.01, 'bit_pos_start': 0, 'bit_pos_end': 4, 'apply_gain': 1, 'add_offset': 0, 'units': 'unused', 'output': 0, 'datablock': 'IRGA72-B-GN1'}
SIGNAL_STRENGTH == {'order': 3.02, 'bit_pos_start': 4, 'bit_pos_end': 8, 'apply_gain': 6.67, 'add_offset': 0, 'units': '%', 'output': 1, 'datablock': 'IRGA72-B-GN1'}
# IRGA72-B-GN1
Based on IRGA72-B but with a different gain on CO2_DRY and CO2_CONC to correct for the
usage of a wrong calibration gas.
## Variables
- DATA_SIZE ... Data size of current data block, number of bytes in Licor 7200 record
(2 = missing, 25 = available)
- STATUS_CODE ... Status of IRGA data aquisition, see Table 7 in WE's sonicread.pdf
- octal value converted to integer yields:
- 0 .. Status OK, no problems (octal 0000)
- 20 .. IRGA did not respond (0020)
- 40 .. Status OK, old data used (0040)
- 200 .. not OK, IRGA data are missing (0200)
- GA_DIAG_CODE ... IRGA diagnostic value
- MSB, most significant bit; high-order bit
- The cell diagnostic value in **IRGA72-B** is a **1 byte** unsigned integer
with the following bit map (in order of how the code reads it, orig bit position in brackets):
- (8,7,6,5,4) currently unknown info, but most likely a part of the 2-byte GA_DIAG_CODE from the
IRGA72-A can be found in these bits
- (3,2,1,0) SIGNAL_STRENGTH
100% means very good signal. However, this value cannot be *exactly* reached if the conversion
of `6.67` according to the manual is used. Instead, the maximum value is `100.05%`.
- 'output': 1 means that the var is written to the output stream of this data block,
i.e. included in the output file.
- H2O_DRY ... H2O dry mole fraction (in dry air), mixing ratio, ppt (parts per THOUSAND)
- CO2_DRY ... CO2 dry mole fraction (in dry air), mixing ratio, ppm (parts per million)
**A GAIN of 0.974 is applied to this signal to correct for the usage of a wrong calibration gas.
For more info, see here: https://www.swissfluxnet.ethz.ch/index.php/knowledge-base/wrong-calibration-gas-2017/**
- H2O_CONC ... H2O concentration density, molar density
- CO2_CONC ... CO2 concentration density, molar density
**A GAIN of 0.974 is applied to this signal to correct for the usage of a wrong calibration gas.
For more info, see here: https://www.swissfluxnet.ethz.ch/index.php/knowledge-base/wrong-calibration-gas-2017/**
- T_CELL ... Temperature of the measurement cell
- PRESS_CELL ... Pressure in the measurement cell
- PRESS_BOX ... Pressure of the box containing the logger and the electronics of the GA
- COOLER_V ... Cooler voltage
- FLOW_VOLRATE ... Volume flow rate in the sampling line
## BICO Settings
- For an explanation of the different variable property settings, please see ```_help_bico_settings.md```.
*Before BICO, the binary conversion was done in FCT FluxCalcTool:*
- Old ID in FCT: li-7200
- Old data block in FCT: data_block_irga_li7200
- FCT Source code: --> https://gitlab.ethz.ch/holukas/fct-flux-calculation-tool
## Details
Generally the same as IRGA72-A, with the difference that
- GA_DIAG_CODE is only 1 Byte in size and contains less information.
- CO2 measurements are corrected for the usage of a wrong calibration gas by applying a gain of 0.974.
For more information about the calibration gas issue see here:
https://www.swissfluxnet.ethz.ch/index.php/knowledge-base/wrong-calibration-gas-2017/
## Binary info
- B...unsigned char, integer, 1 Byte
- h...short integer, 2 Bytes
- ">"...big-endian, MSB most-significant Byte at lowest address
Big-endian systems store the most significant byte of a word in the smallest address
- --> https://docs.python.org/3/library/struct.html
- --> https://docs.python.org/3.1/library/struct.html#format-characters
# IRGA75-A-GN1
Based on IRGA75-A but with a different gain on CO2_CONC.
Based on IRGA75-A but with a different gain on CO2_CONC to correct for the
usage of a wrong calibration gas.
## Variables
- DATA_SIZE ... Data size of current data block, number of bytes in Licor 7500 record
......@@ -42,7 +43,10 @@ Based on IRGA75-A but with a different gain on CO2_CONC.
- FCT Source code: --> https://gitlab.ethz.ch/holukas/fct-flux-calculation-tool
## Details
Please see IRGA75-A.md for more info on the LI-7500.
- Please see IRGA75-A.md for more info on the LI-7500.
- CO2 measurement is corrected for the usage of a wrong calibration gas by applying a gain of 0.974.
For more information about the calibration gas issue see here:
https://www.swissfluxnet.ethz.ch/index.php/knowledge-base/wrong-calibration-gas-2017/
## Binary info
- B...unsigned char, integer, 1 Byte
......
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