CPD2 flags are generally stored as a bitwise OR of numbers. However, certain instrument specific flags are stored in different formats.

When a flags field is a bitwise OR, it is averaged by ORing in all bits that occurred during the averaging interval.

System Flags

System flags for an instrument are stored in either F_$INSTRUMENT or F1_$INSTRUMENT, depending on if the instrument has it's own specific flags field(s) or not.

Bits Description Origin
0x0001 Contamination by automatic logic CPD2
0x0002 Contamination by user override CPD2
0x0004 Contamination by automatic immediate wind sector or speed CPD2
0x0008 Contamination by later merged wind sector or speed data.edit.mergewx via data.wx.get
0x0010 Alternate cut size active CPD2
0x0100 PSAP corrections applied data.edit.standard_corr, data.edit.corr.psap_bond
0x0200 STP correction applied data.edit.standard_corr, data.edit.corr.neph_stp
0x0400 Neph truncation correction applied data.edit.standard_corr, data.edit.corr.neph_trunc
0x0800 Dilution corrections applied data.edit.dilution

Reference: /aer/etc/hdr/datafmt_cpd2.xls, /aer/prg/perl/lib/AER_SysFlags.pm, /aer/prg/cpd2/src/libcpd2/log.h

Instrument Specific Flags

Instrument specific flags are stored in F[2-N]_$INSTRUMENT, many are bitwise ORs of individual bits while some are modes or state strings.

BestUPS

The F2 field is constructed from various state information in the data output format. The instrument does not report any specific flags.

Bits Description Origin
0x0001 Not ready CPD2 (from “Ready:” field)
0x0002 Inverter on CPD2 (from “Inverter:” field)
0x0004 Charger on CPD2 (from “Charger:” field)

Reference: /aer/prg/cpd2/clients/bestups.c

CAPS

The F2 field is constructed from several state variables in the data output.

Bits Description Origin
0x0001 Baseline flush CPD2
0x0002 Baseline measure CPD2
0x0010 Pump off CPD2
0x0020 Alarm CPD2
0x0040 Gas phase absorption (unset is aerosol extinction) CPD2

Reference: /aer/prg/cpd2/clients/caps.c

CCN

The F2 field is a bitwise OR of the following stability flags:

Bits Description Origin
0x1 Instrument reported CCN “H” record field 4 non-zero
0x2 CPD2 Calculated CPD2 stddev of T3 - T1

The F3 field is the bitwise or of the alarm field output by the instrument (“H” record, field 19), with the 0x100 bit being set if it was ever negative.

The F4 field is the bitwise OR of control information by the external TDMA:

Bits Description Origin
0x1 External TDMA controlled CPD2 for any non-zero TDMA control request

Reference: /aer/prg/cpd2/clients/ccn.c

CLAP-3W

The F2 field is a bitwise OR of the following bits:

Bits Description Origin
0x0001 Filter change CPD2, Instrument
0x0002 Flow error Instrument
0x0004 Blue transmittance less than 0.7 CPD2
0x0008 Blue transmittance less than 0.5 CPD2
0x0010 Green transmittance less than 0.7 CPD2
0x0020 Green transmittance less than 0.5 CPD2
0x0040 Red transmittance less than 0.7 CPD2
0x0080 Red transmittance less than 0.5 CPD2
0x0100 Lamp or filter error CPD2 (white filter detection logic), Instrument
0x0200 Temperature error (inlet or block) Instrument
0x0400 Case temperature unstable Instrument
0x1000 Weiss correction applied data.edit.standard_corr, data.edit.corr.psap_weiss_apply, data.edit.corr.psap_weiss_undo
0x2000 Bond correction applied data.edit.standard_corr, data.edit.corr.psap_bond
0x4000 CTS correction applied data.edit.standard_corr, data.edit.psap_cts

Reference: /aer/etc/hdr/datafmt_cpd2.xls, /aer/prg/perl/lib/AER_PSAP/PSAPFlags.pm, /aer/prg/cpd2/src/clients/clap3w.c

TSI CPC 3010

The F2 field is a bitwise combination of flags constructed from state information of the instrument.

Bits Description Origin
0x0001 Not ready CPD2 (when “R5” does not return “READY”)
0x0002 Low butanol CPD2 (when “R0” does not return “FULL”)
0x0004 Vacuum error CPD2 (when not ready and “RV” does not return “VAC”)

Reference: /aer/prg/cpd2/src/clients/cpc_3010.c

TSI CPC 3022

The F2 field is a bitwise combination of flags constructed from state information of the instrument.

Bits Description Origin
0x0001 Not ready CPD2 (when “R5” does not return “READY”)
0x0002 Low butanol CPD2 (when “R0” does not return “FULL”)

Reference: /aer/prg/cpd2/src/clients/cpc_3022.c

TSI CPC 3775

The F2 field is a bitwise OR of error bits constructed by the instrument.

Bits Description Origin
0x0001 Saturator Temp Instrument
0x0002 Condenser Temp Instrument
0x0004 Optics Temp Instrument
0x0008 Inlet Flow Rate Instrument
0x0010 Aerosol Flow Rate Instrument
0x0020 Laser Power Instrument
0x0040 Liquid Level Instrument
0x0080 Concentration Instrument
0x0100 Calibration Reminder Instrument

Reference: Manual (/aer/doc/inst/manuals/CPC/3775-Condensation-Particle-Counter-1980527F.pdf)

TSI CPC 3781

The F2 is a bitwise OR of flags output by the instrument.

Bits Description Origin
0x0001 Over range (concentration) Instrument
0x0002 The flow was out of range for some portion of the sample Instrument
0x0004 Nozzle flow error occurred during the sample Instrument
0x0008 Absolute pressure out of range for some portion of the sample Instrument
0x0010 Saturator, Growth Tube, or Optics temperatures were out of range during the sample Instrument
0x0020 WCPC in warm-up period Instrument
0x0040 WCPC was tilted beyond 45 degrees during the sample Instrument
0x0080 The laser current error occurred during some portion of the sample. Instrument
0x0100 The water fill valve was activated during the sample Instrument
0x0200 Out-of-water condition occurred during the sample Instrument

Reference: Manual (/aer/doc/inst/manuals/CPC/WCPC_3781/TSI_3781_manual.pdf)

TSI CPC 3783

The F2 field is a bitwise OR of error bits constructed by the instrument.

Bits Description Origin
0x0001 Conditioner Temperature Instrument
0x0002 Growth Tube Temperature Instrument
0x0004 Optics Temperature Instrument
0x0008 Vacuum Level Instrument
0x0020 Laser Status Instrument
0x0040 Water Level Instrument
0x0080 Concentration Over-range Instrument
0x0100 Pulse Height Fault Instrument
0x0200 Absolute Pressure Instrument
0x0400 Nozzle Pressure Instrument
0x0800 Water Separator Temperature Instrument
0x1000 Warmup Instrument
0x4000 Service Reminder Instrument

Reference: Manual (/aer/doc/inst/manuals/CPC/WCPC_3783/3783.pdf).

CR1000/uMAC

The F2 field is the current digital state. It is not averaged in normal data.

GRIMM

The F2 field is the bitwise OR of the error code from the “K” records. This is assumed to be the same as the output of the “E” command:

Bits Description Origin
0x0001 Check filter (Imot > 60%) Instrument
0x0002 Check filter (Imot < 20%) Instrument
0x0003 Flow error (Pump-regulation outside of range) Instrument (if this is accurate and distinct, conflicts with 0x0001 and 0x0002)
0x0004 Pump current too high (Imot > 100%) Instrument
0x0008 Please recharge (“Akkukapazität < 10%”) Instrument
0x0010 No operation (Battery empty = 0%) Instrument
0x0020 Check nozzle (Whirls >5%) Instrument
0x0040 No memory card (“Also with Umc < 2.8 VX or wrong version or card with dates from another unit Instrument
0x0080 “New selftest” (“Fault self test”) Instrument

Reference: Manual (/aer/doc/inst/manuals/GRIMM_Dust_Monitor.pdf)

TSI Neph

The F2 field is the bitwise OR of the neph status.

Bits Description Origin
0x0001 Lamp power out of range Instrument
0x0002 Valve fault Instrument
0x0004 Chopper fault Instrument
0x0008 Shutter fault Instrument
0x0010 Heater unstable Instrument
0x0020 Pressure out of range Instrument
0x0040 Sample T out of range Instrument
0x0080 Inlet T out of range Instrument
0x0100 RH out of range Instrument
0x0200 STP correction applied data.edit.standard_corr, data.edit.corr.neph_stp
0x0400 Truncation correction applied data.edit.standard_corr, data.edit.corr.neph_trunc
0x1000 Total scatter mode CPD2 (from “T” mode from instrument)
0x2000 Zero mode CPD2 (from “Z” mode from instrument)
0x4000 Blank mode CPD2 (from “B” mode from instrument)

The F3 field is the last reported neph mode. This is a four character string that identifies the current mode the neph is in. If the first character is “N” the neph is in normal sampling mode, if it is “Z” it is in zero mode, if it is “B” then it is in blanking mode. If the second character is “T” then the neph is in total scatter mode, if it is “B” then it is in backscatter mode.

Reference: Manual (/aer/doc/inst/manuals/TSI_Neph/TSI_neph_manual_2009-10.pdf), /aer/prg/cpd2/src/clients/neph.c, /aer/prg/perl/lib/AER_Neph/NephFlags.pm, /aer/etc/hdr/datafmt_cpd2.xls

Ecotech Neph

The F2 field is the bitwise OR of the neph status.

Bits Description Origin
0x0001 Cell heater off Instrument
0x0002 Inlet heater off Instrument
0x0004 Sample pump on Instrument
0x0008 Zero pump on Instrument
0x0010 Span gas valve open Instrument
0x0080 Digital aux port on Instrument
0x0200 STP correction applied data.edit.standard_corr, data.edit.corr.neph_stp
0x0400 Truncation correction applied data.edit.standard_corr, data.edit.corr.neph_trunc
0x0800 Wavelength adjusted to PSAP Never set
0x2000 Zero mode CPD2 (from 00 register and zero issue)
0x4000 Blank mode CPD2 (from explicit blanking time)
0x8000 Other calibration CPD2 (from 00 register)

Reference: Manual (/aer/doc/inst/manuals/Neph_Ecotech_3000_manual-1.3.pdf), /aer/prg/cpd2/src/clients/neph_aurora3000.c, /aer/prg/perl/lib/AER_Neph/NephFlags.pm, /aer/etc/hdr/datafmt_cpd2.xls

PSAP

The F2 field is a bitwise OR of the following bits:

Bits Description Origin
0x0001 Filter change CPD2
0x0010 Green transmittance less than 0.7 CPD2
0x0020 Green transmittance less than 0.5 CPD2
0x1000 Weiss correction applied CPD2, data.edit.standard_corr, data.edit.corr.psap_weiss_apply, data.edit.corr.psap_weiss_undo
0x2000 Bond correction applied data.edit.standard_corr, data.edit.corr.psap_bond
0x4000 CTS correction applied data.edit.standard_corr, data.edit.psap_cts

Reference: /aer/etc/hdr/datafmt_cpd2.xls, /aer/prg/perl/lib/AER_PSAP/PSAPFlags.pm, /aer/prg/cpd2/src/clients/psap.c

PSAP-3W

The F2 field is a bitwise OR of the following bits:

Bits Description Origin
0x0001 Filter change CPD2
0x0004 Blue transmittance less than 0.7 CPD2
0x0008 Blue transmittance less than 0.5 CPD2
0x0010 Green transmittance less than 0.7 CPD2
0x0020 Green transmittance less than 0.5 CPD2
0x0040 Red transmittance less than 0.7 CPD2
0x0080 Red transmittance less than 0.5 CPD2
0x1000 Weiss correction applied data.edit.standard_corr, data.edit.corr.psap_weiss_apply, data.edit.corr.psap_weiss_undo
0x2000 Bond correction applied data.edit.standard_corr, data.edit.corr.psap_bond
0x4000 CTS correction applied data.edit.standard_corr, data.edit.psap_cts

Reference: /aer/etc/hdr/datafmt_cpd2.xls, /aer/prg/perl/lib/AER_PSAP/PSAPFlags.pm, /aer/prg/cpd2/src/clients/psap3.c

Ozone Monitor

The F2 field is a bitwise OR of the following bits:

Bits Description Origin
0x00000001 O3 lamp temperature low Instrument (alarm code)
0x00000002 O3 lamp temperature high Instrument (alarm code)
0x00000004 Lamp temperature low Instrument (alarm code)
0x00000008 Lamp temperature high Instrument (alarm code)
0x00000010 Bench temperature low Instrument (alarm code)
0x00000020 Bench temperature high Instrument (alarm code)
0x00000040 Pressure temperature low Instrument (alarm code)
0x00000080 Pressure temperature high Instrument (alarm code)
0x00000100 Flow A low Instrument (alarm code)
0x00000200 Flow A high Instrument (alarm code)
0x00000400 Flow B low Instrument (alarm code)
0x00000800 Flow B high Instrument (alarm code)
0x00001000 Intensity A low Instrument (alarm code)
0x00002000 Intensity A high Instrument (alarm code)
0x00004000 Intensity B low Instrument (alarm code)
0x00008000 Intensity B high Instrument (alarm code)
0x00010000 Ozone concentration low Instrument (alarm code)
0x00020000 Ozone concentration high Instrument (alarm code)
0x00100000 Gas unit ppm Instrument (should never be set)
0x00200000 Gas unit mg/m3 Instrument (should never be set)
0x00300000 Gas unit ug/m3 Instrument (should never be set)
0x04000000 Pressure compensation enabled Instrument (should always be set)
0x08000000 Temperature compensation enabled Instrument (should always be set)
0x10000000 Remote mode Instrument (should always be set)
0x20000000 Service mode Instrument

The F3 field is a bitwise OR of the following bits:

Bits Description Origin
0x0001 Zero mode active CPD2
0x0002 Calibration start CPD2
0x0004 Calibration level 1 CPD2
0x0008 Calibration level 2 CPD2
0x0010 Calibration end CPD2
0x0020 Blanking CPD2

Note that 0x0002 and 0x0010 are never set alone, they coincide with zeros so the zero bit is always set with them.

Reference: /aer/prg/cpd2/src/clients/ozonemon.c