data.aggregate.ccnfit

data.aggregate.ccnfit generates fits for CCN vs SS. Fits are done across a scan (or half-scan) as defined by ccnfit.conf.

Command Line Usage

data.aggregate.ccnfit [--source=clean] 
                      [--method=default] [--equation=default] 
                      station [record] start [end]

Arguments

The record field is optional and if present it is used to filter the output, if omitted all available CCNs are fitted.

start and end

The time specifiers for the data to be retrieved. Start is inclusive while end is exclusive, so all data contained within the half open interval [start,end) will be returned. Any convertible time format is accepted.

station

The station identifier code. For example 'sgp'. Case insensitive.

record

Record code to output. Must be of the form “N11f” where the instrument type is one defined in the configuration file. If present only that record is output, if omitted all CCNs defined in the configuration file are fitted and output.

--source=clean

Select the source archive to request data from, defaulting to clean.

--method=default

Select the fit method to use, see below. Defaulting to LevenbergMarquardt.

--equation=default

Select the equation to fit, see below. Defaulting to TwoParameter.

Fitting Methods

LevenbergMarquardt

Equations

TwoParameter

C*(SS)^k

Linear

a + b * SS

Only for testing, does not give good fits on real data.

Example Usage

data.aggregate.ccnfit sgp 2009-02-10T21:00:00Z 2009-02-10T23:00:00Z