read_GHG.read_diag_val

read_GHG.read_diag_val(data)[source]

Process LI-7200 gas analyzer diagnostic values.

This function processes diagnostic values from a LI-7200 gas analyzer, converting binary diagnostic flags into meaningful status indicators. Each diagnostic value is a binary number where specific bits indicate the status of different analyzer components.

Parameters:

data (pandas.Series or numpy.ndarray) – Series or array of diagnostic values from the analyzer

Returns:

DataFrame containing diagnostic information for each component:

AGCfloat

Mean AGC value (Automatic Gain Control, scaled by 6.67)

Syncint

Count of synchronization issues

PLLint

Count of Phase-Locked Loop issues

Detectorint

Count of detector issues

Chopperint

Count of chopper wheel issues

DeltaPressureint

Count of pressure differential issues

Aux_inputint

Count of auxiliary input issues

Tinletint

Count of inlet temperature issues

Toutletint

Count of outlet temperature issues

Head detectint

Count of head detection issues

Return type:

pandas.DataFrame