Add a description of the format used in the TSV - wu - Prints hourly forecast for the next 48 hours using api.wunderground.com
(HTM) hg clone https://bitbucket.org/iamleot/wu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset bc82344d3ddb0b3befc05ac2e6856457390f2ab7
(DIR) parent df8212df619d61632e93262a8221e74d163b8af3
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Tue, 9 Jan 2018 10:21:20
Add a description of the format used in the TSV
Thanks to rockyh for pointing out that!
Diffstat:
README | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
---
diff -r df8212df619d -r bc82344d3ddb README
--- a/README Mon Jan 08 23:03:29 2018 +0100
+++ b/README Tue Jan 09 10:21:20 2018 +0100
@@ -1,6 +1,16 @@
wu is a shell one-liner^W script that prints hourly forecast for the next 48
-hours using api.wunderground.com. An API key and city are needed and are passed
-to `wu' respectively via WU_APIKEY and WU_CITY environment variables, e.g.:
+hours using api.wunderground.com.
+
+The output is a TSV (tab-separated values) with 4 fields, in the following
+order:
+
+ - hour
+ - temperature in °C
+ - condition
+ - probability of precipitation
+
+An API key and city are needed and are passed to `wu' respectively
+via WU_APIKEY and WU_CITY environment variables, e.g.:
% date
Mon Jan 8 01:40:47 CET 2018