Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

data.edit.corr.psap_cal

data.edit.corr.psap_cal applies the necessary corrections to account for a change in the PSAP flow calibration or to correct for a spot size. Note that the input calibration can only be second order (no higher).

data.edit.corr.psap_cal can operate as either an independent filter (provided the correct input is given) or as part of the correction chain

Command Line Usage

data.edit.corr.psap_cal [--input=A11] [--old=x0,x1,x2 --new=x0,x1,... [--root=1|2]] [--spot=fraction]

Arguments

--input=A11

Specify what instrument or record base to use as the input, instead of trying to match what's available. Required if the input stream is ambiguous.

--old=x0,x1,x2

Set the “old” calibration on the input data. flow = x0 + raw * x1 + raw2 * x2

--new=x0,x1,...

Specify the new calibration to change to. flow = x0 + raw * x1 … + rawN * xN

--root=1|2

Specify the root to use when backing out a second order “old” calibration. “1” is the “positive” (addition) root, while “2” is the negative one. The other root will be used if the resulting raw flow would be negative.

NOTE: If using a second order input calibration make sure sure this reflects the input range of data.

--spot=fraction

Set the spot size as a fraction of the default 17.81 mm2.

Example Usage

data.get sgp A11a,A11m 2008:10 2008:11 | data.edit.corr.psap_cal --old=0.054,1.04,0.03 --new=0.1,1.90