data.legacy.cpd1nk
data.legacy.cpd1nk generates CPD2 style spancheck data (S11k) from the raw daily archive of CPD1 data. It handles looking up the correct files and reformatting them.
data.legacy.cpd1nk can be used independently or as part of the list of sources data.get uses.
Command Line Usage
data.legacy.cpd1nk [--cpd1files=pattern] 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
Requested CPD2 record code. Must be SddK where dd is digits, usually either 11 or 12, for S11k or S12k.
--cpd1files=pattern
The pattern to pass to unzip to get all the correct neph's data. Usually generated based on the digits of the neph selected. That is, 'NEPH02*' for S12k and 'NEPH01*' otherwise.
Example Usage
data.legacy.cpd1nk amf S11k 2008.0 2008.5