data.process.ingest.avg_psap3w

data.process.ingest.avg_psap3w takes raw data generated by the PSAP-3W and creates CPD2 style “a”, “m” and/or “n” records at an averaged time base.

Command Line Usage

data.process.ingest.avg_psap3w [--input=CPD2|CPD1|hexonly] 
                               [--output=A11] [--station=NIL] [--normalize]
                               [--stablity-min=30] [--stablity-max=60] [--stablity-rsd=0.0005]
                               [--spot=1.7814E-5] [--cal-q=x0,x1...]
                               [--a=1,...] [--b=0,...]
                               [--interval-a=60] [--interval-m=900]
                               [file|-]

Arguments

--input=CPD2|CPD1|hexonly

Select the input data format.

  • CPD2 - CPD2 Style raw data logger output.
  • CPD1 - CPD1 Style raw data logger output.
  • hexonly - Raw hex data only, with a preceding timestamp on each line.

--output=A11

Instrument to output for, defaulting to A11.

--station=NIL

Set the station to output records as, defaulting to NIL.

--normalize

Enable normalization calculation. When enabled, used the values below to calculate the normalization (and thus transmittance) from the stability parameters below instead of the instantaneous value when the reset transmittance switch is pressed. If this option is not used the raw data stream must included the minute when the button was pressed.

--stablity-min

Minimum number of points required for spot stability.

--stablity-max

Maximum number of points for spot stability.

--stablity-rsd

Minimum RSD for spot stability.

--spot=1.7814E-5

Spot size in m^2.

--cal-q=x0,x1

Set a flow calibration to apply, in ascending power order. The first term is the constant offset.

--a=1,... --b=0,...

List of digital filter coefficients, starting at a0 and b1 for each parameter.

--interval-a

Set the interval between “a” records in seconds. Defaults to 60. Zero disables. Best results are with multiples of 4 seconds, as the instrument reports raw data every 4 seconds.

--interval-m

Set the interval between “m” records in seconds. Defaults to 900. Zero disables. Best results are with multiples of 4 seconds, as the instrument reports raw data every 4 seconds.

file|-

Filename to read, or “-” for standard input. Defaults to standard input.

Example Usage

data.get sfb XA11r 2010-04-19 2010-04-20 | data.process.ingest.avg_psap3w --interval-a=120