AE33 Aethalometer
The AE33 is a multi-wavelength aethalometer used for measuring black carbon aerosol concentrations in the atmosphere.
AeroViz.rawDataReader.script.AE33.Reader
Bases: AbstractReader
AE33 Aethalometer Data Reader.
A specialized reader for AE33 Aethalometer data files, which measure black carbon concentrations at seven wavelengths.
See full documentation at docs/source/instruments/AE33.md for detailed information on supported formats and QC procedures.
Attributes
BC_COLUMNS
class-attribute
instance-attribute
ABS_COLUMNS
class-attribute
instance-attribute
ERROR_STATES
class-attribute
instance-attribute
Functions
_QC
Perform quality control on AE33 Aethalometer raw data.
QC Rules Applied (raw data only)
- Status Error : Invalid instrument status codes
- Invalid BC : BC concentration outside 0-20000 ng/m³
- Insufficient : Less than 50% hourly data completeness
Note: AAE validation is done in _process() after calculation.
_process
Calculate absorption coefficients and validate derived parameters.
Processing Steps
- Calculate absorption coefficients at each wavelength
- Calculate AAE (Absorption Ångström Exponent)
- Calculate eBC (equivalent Black Carbon)
- Validate AAE range and update QC_Flag
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
_df
|
DataFrame
|
Quality-controlled DataFrame with BC columns and QC_Flag |
required |
Returns:
| Type | Description |
|---|---|
DataFrame
|
DataFrame with absorption coefficients, AAE, eBC, and updated QC_Flag |
Data Format
- File format: Tab-delimited text file (.dat)
- Sampling frequency: 1 minute
- File naming pattern:
[!ST|!CT|!FV]*[!log]_AE33*.dat- log file is not included ex. AE33_log_AE33-S05-00494_20220401.dat
- Header: 5 rows of header information
- Data columns: 67 columns including timestamp and measurements
Measurement Parameters
The AE33 provides black carbon concentration measurements at seven wavelengths:
| Column | Wavelength | Description |
|---|---|---|
| BC1 | 370 nm | UV channel |
| BC2 | 470 nm | Blue channel |
| BC3 | 520 nm | Green channel |
| BC4 | 590 nm | Yellow channel |
| BC5 | 660 nm | Red channel |
| BC6 | 880 nm | Near-IR channel (reference) |
| BC7 | 950 nm | IR channel |
Data Processing
Data Reading
- Automatically skips the first 5 rows of header information
- Parses timestamps from date and time columns (columns 0 and 1)
- Extracts black carbon concentration data for seven wavelengths
- Strips semicolons from column names
- Validates file size (warns if < 550KB)
Quality Control
The AE33 reader uses the declarative QCFlagBuilder system with the following rules:
+-----------------------------------------------------------------------+
| _QC() Pipeline |
+-----------------------------------------------------------------------+
| |
| [Pre-process] Calculate absorption coefficients, AAE, eBC |
| | |
| v |
| +---------------------+ +---------------------+ |
| | Rule: Status Error | | Rule: Invalid BC | |
| +---------------------+ +---------------------+ |
| | Bitwise status | | BC <= 0 OR | |
| | code filtering | | BC > 20000 ng/m³ | |
| +---------------------+ +---------------------+ |
| | | |
| v v |
| +---------------------+ +---------------------+ |
| | Rule: Invalid AAE | | Rule: Insufficient | |
| +---------------------+ +---------------------+ |
| | AAE < -2.0 OR | | < 50% hourly data | |
| | AAE > -0.7 | | completeness | |
| +---------------------+ +---------------------+ |
| |
+-----------------------------------------------------------------------+
QC Rules Applied
| Rule | Condition | Description |
|---|---|---|
| Status Error | Bitwise status code check | Invalid instrument status codes detected |
| Invalid BC | BC ≤ 0 OR BC > 20000 ng/m³ | BC concentration outside valid range |
| Invalid AAE | AAE < -2.0 OR AAE > -0.7 | Angstrom exponent outside valid range |
| Insufficient | < 50% hourly data | Less than 50% hourly data completeness |
Error Status Codes
| Code | Description |
|---|---|
| 1 | Tape advance, fast calibration, warm-up |
| 2 | First measurement – obtaining ATN0 |
| 3 | Stopped |
| 4 | Flow low/high by more than 0.5 LPM |
| 16 | Calibrating LED |
| 32 | Calibration error (at least one channel OK) |
| 384 | Tape error (tape not moving, end of tape) |
| 1024 | Stability test |
| 2048 | Clean air test |
| 4096 | Optical test |
Output Data
The final output (output_ae33.csv) contains the following columns:
| Column | Unit | Description |
|---|---|---|
| BC1-BC7 | ng/m³ | Black carbon at 7 wavelengths |
| abs_370-950 | Mm⁻¹ | Absorption coefficients |
| abs_550 | Mm⁻¹ | Interpolated absorption at 550nm |
| AAE | - | Absorption Angstrom Exponent |
| eBC | ng/m³ | Equivalent black carbon |
QC_Flag Handling
- The intermediate file (
_read_ae33_qc.pkl/csv) contains theQC_Flagcolumn - The final output has invalid data set to NaN and
QC_Flagcolumn removed
Notes
- The AE33 provides real-time black carbon concentration measurements
- Useful for distinguishing between biomass burning and fossil fuel combustion
- Files smaller than 550KB may indicate incomplete data