Look here for API Documentation.

Lua weather library

This library can be used to do some weather related routines and solar calculations in Lua. Also provides unit conversion routines.


Weather library home page is at http://solitudo.net/software/lua/weatherlib/ and it can be downloaded by cloning the public Git repository at git://scm.solitudo.net/weatherlib.git. Gitweb interface is available at http://scm.solitudo.net/gitweb/public/weatherlib.git.


Install the src/weatherlib.lua under some of the directories included in the default LUA_PATH for your Lua distribution, or install under desired location and set LUA_PATH accordingly. More info about LUA_PATH at http://www.lua.org/pil/8.1.html.

API Documentation

API documentation for weatherlib is available under the api/ directory of the distribution.

Copyright and licensing

Copyright: © 2011-2016 Tuomas Jormola tj@solitudo.net http://solitudo.net

Licensed under the terms of the GNU General Public License Version 2.0. License terms are included in the file COPYING.

This module derives code from GWeather library which is part of the GNOME project. GWeather is available at http://ftp.gnome.org/pub/GNOME/sources/libgweather/ and it is licensed under the terms of the GNU General Public License Version 2.0

This module derives code from the NOAA Solar Calculator. Original JavaScript code at the aforementioned site is placed under public domain.