Upwelling Radiance (Lu)

Input

  1. Upper and lower four byte portions of each averaged count for each wavelength.

    ocr507_412nm_counts_lower
    ocr507_412nm_counts_upper
    ocr507_443nm_counts_lower
    ocr507_443nm_counts_upper
    ocr507_490nm_counts_lower
    ocr507_490nm_counts_upper
    ocr507_510nm_counts_lower
    ocr507_510nm_counts_upper
    ocr507_555nm_counts_lower
    ocr507_555nm_counts_upper
    ocr507_665nm_counts_lower
    ocr507_665nm_counts_upper
    ocr507_670nm_counts_lower
    ocr507_670nm_counts_upper

  2. Number of counts averaged for each datum, ocr507_num_samples_used.

  3. Serial number for OCR instrument (obtained from a global attribute).

Ancillary Requirements

  1. OCR calibration table for radiance sensor.

MATLAB m-file

OCRConvert.m

Output

Upwelling irradiance for each wavelength in microwatts/cm^2/nm/steradian, Lu

Synopsis

The data from any OCR sensor (either OCR507 or OCR504) is reported in raw digital counts, which have a baseline value of about 2147000000. As this number is too large for the Campbell data logger to handle, the datums for each of the wavelengths is split into two parts by first converting the average to a hexadecimal number, and then splitting the hex number into an upper and lower four byte portion. These hex portions are then converted back to integers and then output as two numbers (the upper and lower counts in the NetCDF file). Thus each wavelength of data will have two integer numbers that have to be reassembled to get the average digital count reading for that wavelength. Thus a seven wavelength sensor (OCR507) will have fourteen high resolution numbers, while a four wavelength sensor (OCR504) will have eight pieces of data. If not enough counts were used, then the irradiance value cannot be considered valid. Once the counts are fully formed, they are turned into irradiance using calibration coefficients for each wavelength. The calibration coefficients are particular for each individual sensor.

This algorithm is essentially the same as that for downwelling irradiance. The only difference is the calibration file and a minor quality check.