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:
- The smoothing time constant: the number of samples for the single pole low pass filter. Defaults to 3.
- The maximum time gap in data (or including over alternate cut sizes) before the smoother is reset, in seconds. Defaults to 35 minutes.
- 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:
- The coarse (10um) scale factor, defaulting to 1.0.
- 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).
- The name of the zero segment, defaulting to “$INSTRUMENT_zero”
- The time to extend any segments on either side, in seconds, defaulting to zero.
- The time to extend any segments backwards in time, in seconds, defaulting to zero.
- 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.
- The name of the zero segment, defaulting to “$INSTRUMENT_zero”
- 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:
- The spot size correction factor, defaulting to 1.0.
- The neph base name to use, defaulting to “S11”.
- The value of the K1 parameter.
- The value of the K2 parameter.
- The smoothing time constant: the number of samples for the single pole low pass filter. Defaults to 3.
- The maximum time gap in data (or including over alternate cut sizes) before the smoother is reset, in seconds. Defaults to 35 minutes.
- The minimum transmittance to allow before invaliding data. Defaults to 0.5.
psap_cts
Apply the CTS to PSAP data. The parameters are:
- The neph base name to use, defaulting to “S11”.
- The filter segment to extend processing by, defaulting to “$INSTRUMENT_filter”.
- The asymmetry parameter coefficients in ascending order, separated by [;,:].
- The K0 value of the Weiss correction to reverse if necessary.
- The K1 value of the Weiss correction to reverse if necessary.
- The cut size to force, if present and true or “fine” then always use the fine sub-1um values.
- 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:
- The transmittance to set the “low” flag at. Defaults to 0.7.
psap_recalculate_l
Recalculate the sample length for PSAP data.
- The spot size. Defaults to 1.7814E-5.
- The name of the filter segment, defaulting to “$INSTRUMENT_filter”
- The default flow, if one isn't available in the data.
psap_intensity_tr
Recalculate the transmittance from intensities.
- The name of the filter segment, defaulting to “$INSTRUMENT_filter”
- The ADC offset correction, defaulting to zero (no correction).
psap_spot
Apply a spot size correction factor to PSAP or CLAP data.
- 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.
- The time in seconds to remove after the switch.
remove_minutes
Invalidate the given minutes after the hour
- 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.