data.edit.psap_recalculatetr
data.edit.psap_recalculatetr recalculates transmittances from the PSAP based on filter segmentation and reported absorptions.
There are two modes of operation, the first is the fully automatic mode used from within the environment set up by data.edit.get. The second is manual invocation.
Command Line Usage
When invoked manually:
data.edit.psap_recalculatetr [--weiss-<psap>=A,B] [--tr0-<psap>=B,G,R] station records start end [source]
From withing data.edit.get:
data.edit.psap_recalculatetr
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.
records
The cpd2 record type to be retrieved. For example: 'S11a'. Case sensitive. Multiple record types may be separated by “,”, “;” or “:”. The results will be interwoven in time. Note that this is a single argument and that spaces are not allowed.
source
Set source archive to request data from, defaulting to raw.
--weiss-<psap>=A,B
Set Weiss correction constants for a given PSAP, defaults: A=0.814, B=1.237.
--tr0-<psap>=B,G,R
When set disabled backwards reading of PSAP data for filter segments, instead it assumes that the transmittances were was set at the start of PSAP data.
Example Usage
Automatic from filter segments
data.edit.psap_recalculatetr sgp A11a 2008:100 2008:110
With a non-standard Weiss correction
data.edit.psap_recalculatetr --weiss-A11=0.815,1.238 sgp A11a 2008:100 2008:110
Setting an initial transmittance
data.edit.psap_recalculatetr --tr0-A11=0.98,0.99,0.98 sgp A11a 2008:100 2008:110