bash shell scripts to aggreagate weather images
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

National Park weather data

A collection of Bash shell scripts to scrape/collect weather data, web camera images, radar imagery, satellite views, etc. to display current weather information, time-lapse animations, and create an archive of weather observations.


The scripts are used on Ubuntu 14 and requite a few packages to be installed on the server:

Web pages use Leaflet JS library to display current radar map overlays.

Example usage

The primary script is which runs the other scripts in the proper order. You'll need to create a crontab to keep the weather data current.

# crontab example
# The source imagery and observations are downloaded every 30 minutes to conserve server storage.

*/30	*	*	* 	*	/bin/sh/	/path/to/weather/directory/


The scripts have a few goals:

  • Pull down weather imagery and data with wget or curl.
  • Process the imagery with convert and montage to make thumbnails, add date stamps, and optimize for web viewing
  • Scrape text data with sed,awk, and pcregrep to format and serve on a web page.
  • Create animated gifs for national park webcams and archive the imagery with a unique URL every day.
  • Create a raster tileset for the latest doppler radar for the Daniel Boone National Forest and serve on a slippy map.

Live examples

Data sources

The source data primarily comes from the National Weather Service and various NOAA agencies. The exact URLs are shown in the and scripts. Also using/exploring the Dark Sky API for hyperlocal data. The Weather Underground API for RSS feeds has also been used in the past. Imagery for the GOES-16 satellite is downloaded from UW-Madison Department of Atmospheric and Oceanic Sciences,


outrageGIS mapping makes trails maps to carry into the backcountry. Knowing the weather is pretty helpful.


The first use of the scripts was in June, 2007.