Command Line tool for checking Low Pressure Headache information in Japan
Go 1.23.3
cd goHeadache
go build
You can run goHeadache in two ways:
goHeadache [-day <day>] <area_code>
# or
goHeadache <area_code> [-day <day>]
-day
: Filter output by specific day- Valid values:
yesterday
,today
,tomorrow
,dayafter
- Optional: if omitted, shows all days
- Valid values:
Find your area code at: https://geoshape.ex.nii.ac.jp/ka/resource/
For Chiyoda, Tokyo
(area code: 13101):
# Show all days
$ goHeadache 13101
# Show only today's forecast
$ goHeadache -day today 13101
# Show only tomorrow's forecast
$ goHeadache 13101 -day tomorrow
Sample output:
Weather Report for 千代田区
--------------------------------------------
Today:
Time Weather Temp (°C) Pressure (hPa) Pressure Level
9:00 Sunny 18 1012 0
12:00 Sunny 22 1010 1
15:00 Cloudy 21 1008 2
...
Weather data provided by:
Area codes sourced from: