Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Repository files navigation

GHG_Processing

A collection of pyhon code that can be used to unzip Smartfulx .ghg files to pull out metatdata, raw data values, and diagnostic flags.

Yet to be implemented, but the intent is to generate ini files for .ghg data and create batches of similar files (e.g. same calibrations, season, sensor separation, etc.) for submitting recalc runs to eddypro

These are all the values contained in the .METADATA, .DATA, .STATUS, system_config/co2app.conf files.

Metadata Values

More info here

Site ['site_name', 'altitude', 'latitude', 'longitude', 'canopy_height', 'displacement_height', 'roughness_length']

Station ['station_name', 'logger_id', 'logger_sw_version']

Timing ['acquisition_frequency', 'file_duration']

Instruments ['instr_1_manufacturer', 'instr_1_model', 'instr_1_sn', 'instr_1_sw_version', 'instr_1_id', 'instr_1_height', 'instr_1_wformat', 'instr_1_wref', 'instr_1_north_offset', 'instr_1_head_corr', 'instr_1_northward_separation', 'instr_1_eastward_separation', 'instr_1_vertical_separation', 'instr_2_manufacturer', 'instr_2_model', 'instr_2_sn', 'instr_2_id', 'instr_2_sw_version', 'instr_2_tube_length', 'instr_2_tube_diameter', 'instr_2_tube_flowrate', 'instr_2_northward_separation', 'instr_2_eastward_separation', 'instr_2_vertical_separation', 'instr_3_manufacturer', 'instr_3_model', 'instr_3_sn', 'instr_3_id', 'instr_3_sw_version', 'instr_3_tube_length', 'instr_3_tube_diameter', 'instr_3_tube_flowrate', 'instr_3_northward_separation', 'instr_3_eastward_separation', 'instr_3_vertical_separation']

FileDescription ['separator', 'flag_discards_if_above', 'header_rows', 'data_label', 'col_1_variable', 'col_1_instrument', 'col_1_measure_type', 'col_1_unit_in', 'col_1_conversion', 'col_1_min_value', 'col_1_max_value', 'col_1_unit_out', 'col_1_a_value', 'col_1_b_value', 'col_1_nom_timelag', 'col_1_min_timelag', 'col_1_max_timelag', ... this pattern then repeats for every subsequent column.]

Data Values

More info on the data file here; info on 7200/CSAT diagnositcs here and here and on the 7700 diagnostics here.

'Seconds', 'Nanoseconds', 'Sequence Number', 'Diagnostic Value', 'Diagnostic Value 2', 'CO2 Absorptance', 'H2O Absorptance', 'CO2 (mmol/m^3)', 'CO2 (mg/m^3)', 'H2O (mmol/m^3)', 'H2O (g/m^3)', 'Block Temperature (C)', 'Total Pressure (kPa)', 'Box Pressure (kPa)', 'Head Pressure (kPa)', 'Aux 1 - U (m/s)', 'Aux 2 - V (m/s)', 'Aux 3 - W (m/s)', 'Aux 4 - SOS (m/s)', 'Cooler Voltage (V)', 'Chopper Cooler Voltage (V)', 'Vin SmartFlux (V)', 'CO2 (umol/mol)', 'CO2 dry(umol/mol)', 'H2O (mmol/mol)', 'H2O dry(mmol/mol)', 'Dew Point (C)', 'Cell Temperature (C)', 'Temperature In (C)', 'Temperature Out (C)', 'Average Signal Strength', 'CO2 Signal Strength', 'H2O Signal Strength', 'Delta Signal Strength', 'Flow Rate (slpm)', 'Flow Rate (lpm)', 'Flow Pressure (kPa)', 'Flow Power (V)', 'Flow Drive (%)', 'H2O Sample', 'H2O Reference', 'CO2 Sample', 'CO2 Reference', 'HIT Power (W)', 'Vin HIT (V)', 'CH4 Seconds', 'CH4 (umol/mol)', 'CH4 (mmol/m^3)', 'CH4 Temperature', 'CH4 Pressure', 'CH4 Signal Strength', 'CH4 Diagnostic Value', 'CH4 Drop Rate (%)', 'CHK'

Status Values

More info here

'MSEC', 'SECONDS', 'NANOSECONDS', 'DIAG', 'RSSI', 'REFRSSI', 'LCTSETPT', 'LCTACTUAL', 'BCTSETPT', 'BCTACTUAL', 'CHASSISTEMP', 'OPTICSTEMP', 'OPTICSRH', 'AUXREFTEMP', 'MOTORSETPT', 'MOTORACTUAL', 'USB', 'USBCAPACITY', 'USBFREESPACE', 'REF', 'GND', 'OPTICSTDELTA', 'BOTTOMHEATERW', 'TOPHEATERW', 'CHK'

co2app.conf

Haven't been able to find any useful metadata about this file, but it contains the timing of the current calibration and coefficient values

About

A collection of pyhon code that can be used to unzip Smartfulx .ghg files to pull out metatdata, raw data values, and diagnostic flags.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages