diff options
author | Mattias Andrée <maandree@kth.se> | 2016-04-19 17:18:52 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-04-19 17:18:52 +0200 |
commit | 539bc7a01aa9d018a15713cbdfa8007ddd3c772c (patch) | |
tree | af4b10aae265f0be5145ce2a76e1685251f0f4f3 /README | |
parent | add makefile (diff) | |
download | metar-539bc7a01aa9d018a15713cbdfa8007ddd3c772c.tar.gz metar-539bc7a01aa9d018a15713cbdfa8007ddd3c772c.tar.bz2 metar-539bc7a01aa9d018a15713cbdfa8007ddd3c772c.tar.xz |
update doc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | README | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -6,7 +6,7 @@ SYNOPSIS metar print metar set STATION metar list [PREFIX] - metar closest LATITUDE LONGITUDE [LIST] + metar closest [LATITUDE LONGITUDE] [LIST] DESCRIPTION metar is a simple utility for find whether stations (hence referred to @@ -49,11 +49,13 @@ ACTIONS name, country, ICAO station identifier, and location. The ICAO station identifier is in parenthesis. - closest LATITUDE LONGITUDE [LIST] + closest [LATITUDE LONGITUDE] [LIST] Given a LATITUDE and LONGITUDE in decimal format, print the ICAO station identifier of the closest METAR station. If you have already created a list of all stations using the action list, specify the filename of that list as the LIST argument. + If LATITUDE and LONGITUDE are omitted, ~/.config/geolocation, + or /etc/geolocation, is used. FILES ~/.config/metar @@ -69,6 +71,20 @@ FILES Fallback file use if ~/.config/metar is missing. Other programs are encouraged to use this file too. + ~/config/geolocation + Used to get your location in case 'metar closest' is invoked + without LATITUDE and LONGITUDE. This file contains your + geographical location using the Global Positioning System in + decimal format. This will never change. Other programs are + encouraged to use this file too. + + If the file contains more than one line, only the first line, + even if it is empty, is used. + + /etc/geolocation + Fallback file use if ~/.config/geolocation is missing. Other + programs are encouraged to use this file too. + NOTES US Americans, remember, you are on the Western Hemisphere. Therefore, you should specify a negative longitude when using the action closest. |