~theothornhill/weather

weather utility
Remove flexi-streams and drakma - change to dexador
Adding some docstrings
Show the time of each time series entries

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~theothornhill/weather
read/write
git@git.sr.ht:~theothornhill/weather

You can also use your local clone with git send-email.

#Weather.lisp

Fetch weather from yr.no in a small CLI utility.

#Prereqs

You need to have:

  • sbcl
  • quicklisp
  • Dependencies listed in weather.asd

#Build

To compile and run the program, run

./install.sh

found inside root folder, then run

./weather -c <city name here>

The city list is absolutely hit and miss - guessing would be easiest. If city name consists of more than one word, put them in quotes like this:

./weather -c "los angeles"

#Run

You can run the functions through the repl as normal, or by using the installed cli - see below.

#Options

You can see help

./weather -h

You can set an offset of N hours,

./weather -c city -o 3

You can combine offset with range, showing the N next hours

./weather -c city -o 3 -r 3

Or by itself

./weather -c city -r 3

You can get verbose information

./weather -c city -o 3 -v

#Tests

You can run

./test.sh

found inside the root folder

#Bugs

Yes