weatherchart
Fetches forecast data from the National Weather Service public data API and presents some charts.
Build instructions
- Install Leiningen (https://codeberg.org/leiningen/leiningen)
- Use
lein run
to execute - Use
lein uberjar
to build a standalone executable JAR
Run instructions
- 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
, whereLLL
identifies the forecast office andXX
andYY
identify the grid square.- To find this from latitude and longitude coordinates, request (eg)
https://api.weather.gov/points/40.444,-77.777
.
- To find this from latitude and longitude coordinates, request (eg)
WEATHERCHART_GRIDPOINT_ID="CTP/73,41" java -jar weatherchart.jar > chart.html