The owrep.conf
file is the configuration file for the
owrep(1)
program. Each entry in owrep.conf
occupies a single
line, and consists of a keyword and a value, separated by white space. A
‘#
’ delimits a comment to end of line.
Blank lines are ignored.
The following keywords are recognised:
- appid
- The application ID (a rather long string) provided (after registration) by
http://www.openweathermap.org.
- location
- A location number identifying the place for which weather is required.
This number can be obtained from lists available at
http://www.openweathermap.org. If a location is
not provided here, then one must be specified when invoking
owrep(1),
by using the
-l
flag.
- units
- Specifies the units to be used for output; the possible values are
imperial and metric. The default is
metric.
- url
- The template URL for use when querying
http://www.openweathermap.org. In this URL, the
following sequences are replaced as shown:
Sequence |
Replacement |
$a |
application ID |
$l |
location ID number |
$u |
units to be used |
Bob Eager ⟨rde@tavi.co.uk⟩.