data.legacy.cpd1 locates and converts cpd1 data from the archive into cpd2 style data. It will search the cum file and any quarter archive files for the data it needs. It does not do any caching and so is relative slow alone. It is intended to be called by data.get.
data.legacy.cpd1 is normally called as part of data.legacy.get's lookup procedure, instead of directly.
Command Line Usage
data.legacy.cpd1 station records start end [source]
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.
The station identifier code. For example 'brw'. Case insensitive.
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.
Set source archive to request data from. Only raw and clean are supported.
data.legacy.cpd1 amf S11a 2008:100 2008:101 raw