Giter Site home page Giter Site logo

metar's Introduction

Lua METAR parser

This library can be used to parse METAR coded weather reports and fetch current METAR reports from NOAA Internet Weather Service in Lua.

The parser is pretty simple and by no means claims to support every feature one might find in METAR coded weather reports. For example, weather forecasts and automatic weather reports are not detected. Unsupported features in the weather reports are silently dropped.

Dependencies

LuaSocket is required for fetching weather reports from the Internet Weather Service. On Debian/Ubuntu systems you can install the package liblua5.1-socket2 in order to get LuaSocket installed.

My Lua weather library is required for doing some unit conversions.

Downloading

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

Installation

Install the src/metar.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 metar is available under the api/ directory of the distribution.

References

The following material was used when researching METAR

Copyright and licensing

Copyright: © 2011 Tuomas Jormola [email protected] http://solitudo.net

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

metar's People

Contributors

tjormola avatar steelman avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.