data.forallstations runs a handler once for all stations that exist in $DB/stn.

Command Line Usage

data.forallstations program arguments


The arguments are passed directly to the “system” call in Perl, so they may either consist of a single argument with multiple space separated string to be passed to the shell or multiple arguments each passed as a separate argument with the first being the program name. In both cases the string “${STATION}” is replaced with the current station in the iteration.

Example Usage

data.forallstations data.process.upload '${STATION}'