elebow / weatherchart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weatherchart

Fetches forecast data from the National Weather Service public data API and presents some charts.

Build instructions

  1. Install Leiningen (https://codeberg.org/leiningen/leiningen)
  2. Use lein run to execute
  3. Use lein uberjar to build a standalone executable JAR

Run instructions

  1. Find the desired grid label according to the instructions at https://www.weather.gov/documentation/services-web-api. It should be of the pattern LLL/XX,YY, where LLL identifies the forecast office and XX and YY identify the grid square.
    • To find this from latitude and longitude coordinates, request (eg) https://api.weather.gov/points/40.444,-77.777.
  2. WEATHERCHART_GRIDPOINT_ID="CTP/73,41" java -jar weatherchart.jar > chart.html

About

License:GNU Affero General Public License v3.0


Languages

Language:Clojure 85.6%Language:CSS 14.4%