get.sources.conf

The configuration file used by data.get to determine how to access data from a given source. It is located in $DB/etc/$STATION/get.sources.$STATION.conf or in the default location $DB/etc/get.sources.conf. The default one is used if there is no definition for the given source in the station specific one.

For a given source, each program is called in the order it appears in the file. The first data it returns is assumed to mark the start of the time that it can generate data. That is, the programs should be ordered in such a way that the first ones access newer data.

Unless it is explicitly flagged as being able to handle multiple records concurrently, then each program is called once for each record data.get is attempting to access.

Each program is called with like “program $STATION $RECORDS $START $END $SOURCE”.

Format

Lines beginning with '#' are treated as comments.

SOURCE[(FLAGS)],PROGRAM

SOURCE

That data source being defined. Case insensitive.

FLAGS

That data source name may optionally be followed by a list of flags enclosed in parentheses and separated by semicolons.

The following flags are available:

PROGRAM

The program to call.