standard_corr.conf

The configuration file for data.edit.standard_corr. It is located in $DB/etc/$STATION/standard_corr.$STATION.conf or in the default location $DB/etc/standard_corr.conf. If the station specific file does not exist then the default one is used. After any changes to this file the cache for edited data should be invalidated. It consists of a list of events designating the start/change of processing at that time.

It should be checked against corr.conf to ensure there are no overlaps that would cause multiple corrections.

Format

Lines beginning with '#' are treated as comments. Comma separated.

TIME,TYPE,INSTRUMENT,PARAMETERS

TIME

The time of the event. A valid time must be set for all events (set it to station start time if needed). Any convertible time format is accepted.

TYPE

The type of the event. The following values are accepted:

STOP

Turns off all processing by data.edit.standard_corr at this time.

neph_stp

Apply neph STP corrections.

neph_trunc

Apply the neph truncation correction described in Anderson and Ogren (1998). The optional parameters are:

  1. The smoothing time constant: the number of samples for the single pole low pass filter. Defaults to 3.
  2. The maximum time gap in data (or including over alternate cut sizes) before the smoother is reset, in seconds. Defaults to 35 minutes.
  3. The cut size to force, if present and true or “fine” then always use the fine sub-1um values.
neph_loss

Scale neph scatterings and backscatterings based on the current cut size. Used to correct for humidograph wet neph losses. The parameters are:

  1. The coarse (10um) scale factor, defaulting to 1.0.
  2. The fine (1um) scale factor, defaulting to 1.0.
neph_zeroremove

Remove neph or PSAP scatterings, backscatterings, and absorptions during a zero period. This zero is defined by a segment (by default the zero segment for that neph and must be defined to something for PSAP zero time removal).

  1. The name of the zero segment, defaulting to “$INSTRUMENT_zero”
  2. The time to extend any segments on either side, in seconds, defaulting to zero.
  3. The time to extend any segments backwards in time, in seconds, defaulting to zero.
  4. The time to extend any segments forwards in time, in seconds, defaulting to zero.
rrneph_zero

Apply the zero subtraction for a Radiance Research neph. That is, subtract the average during the last segment (by default the zero segment for that neph) from the scattering for anything following that segment. Can also remove some amount of data on either side of the zero to allow for blanking.

  1. The name of the zero segment, defaulting to “$INSTRUMENT_zero”
  2. The time to “blank” on either side, in seconds, defaulting to zero.
psap_bond

Apply the the Bond 1999 correction to PSAP data. The parameters are:

  1. The spot size correction factor, defaulting to 1.0.
  2. The neph base name to use, defaulting to “S11”.
  3. The value of the K1 parameter.
  4. The value of the K2 parameter.
  5. The smoothing time constant: the number of samples for the single pole low pass filter. Defaults to 3.
  6. The maximum time gap in data (or including over alternate cut sizes) before the smoother is reset, in seconds. Defaults to 35 minutes.
  7. The minimum transmittance to allow before invaliding data. Defaults to 0.5.
psap_cts

Apply the CTS to PSAP data. The parameters are:

  1. The neph base name to use, defaulting to “S11”.
  2. The filter segment to extend processing by, defaulting to “$INSTRUMENT_filter”.
  3. The asymmetry parameter coefficients in ascending order, separated by [;,:].
  4. The K0 value of the Weiss correction to reverse if necessary.
  5. The K1 value of the Weiss correction to reverse if necessary.
  6. The cut size to force, if present and true or “fine” then always use the fine sub-1um values.
  7. The parameters of the CTS solver in the order: delta_sf, delta_af, gf, chi, fd_stop
psap_oldflags

Set the transmittance flag in the old style (CPD1) F_aer, if present. The parameters are:

  1. The transmittance to set the “low” flag at. Defaults to 0.7.
psap_recalculate_l

Recalculate the sample length for PSAP data.

  1. The spot size. Defaults to 1.7814E-5.
  2. The name of the filter segment, defaulting to “$INSTRUMENT_filter”
  3. The default flow, if one isn't available in the data.
psap_intensity_tr

Recalculate the transmittance from intensities.

  1. The name of the filter segment, defaulting to “$INSTRUMENT_filter”
  2. The ADC offset correction, defaulting to zero (no correction).
psap_spot

Apply a spot size correction factor to PSAP or CLAP data.

  1. A list of spot size correction factors, the PSAP is always considered to be on the first spot.
cut_flush

Invalidate some time after a cut size switch.

  1. The time in seconds to remove after the switch.
remove_minutes

Invalidate the given minutes after the hour

  1. The list of minutes (starting from zero) after the hour to remove.

INSTRUMENT

The base name (for example “S11”) that the correction applies to or “STOP” to stop all corrections of the prior type that may be active.

PARAMETERS

The parameters to the correction type, as defined above, or “STOP” to stop the correction type being applied to the given instrument.