data.aggregate.humidograph

data.aggregate.humidograph generates f(RH) curve fits for humidograph systems. There are several equations it can fit and several methods it can use to fit them, however for each invocation only one pair can be set. It assumes one hour RH scans.

Uses humidograph.conf to determine the configuration of the humidograph system.

Command Line Usage

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

Arguments

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 'brw'. Case insensitive.

record

Record code to filter by. If absent then outputs all available humidograph data.

--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

OneParameter

(1-RH/100)^(-gamma)

TwoParameter

a*(1-RH/100)^(-gamma)

Linear

a + b * RH

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

Example Usage

data.aggregate.humidograph sgp 2008:10 2008:11