Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

data.forallstations

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

Command Line Usage

data.forallstations program arguments

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}'