Giter VIP home page Giter VIP logo

metar's Introduction

Build Status Coverage

METAR

METAR (METeorological Aerodrome Report) and TAF (terminal aerodrome forecast) message decoder for use in bots, templates and other data visualization. Raw text messages (as is) are used for decoding.

Based on the format approved by The Federal Service for Hydrometeorology and Environmental Monitoring of Russia.

Now supported

  • In metars
    • Header: station location, date/time, auto/cor/nil
    • Wind (Wind Variability)
    • Visibility
    • Runway Visual Range
    • Type of Weather
    • Clouds
    • Temperature/Dewpoint
    • Altimeter Setting
  • Metar supplementary informaton
    • Type of recent weather
    • State of the runway(s) (as R24/010060)
    • Wind shear on runway(s) (as WS R24 or WS ALL RWY)
  • In tafs
    • Header: station location, date/time, cor/amd/nil/cnl
    • Wind
    • Visibility
    • Type of Weather
    • Clouds
    • Temperatures
  • Both - change expected: wind, visibility, type of Weather, clouds

Supported units

  • Wind speed: knots, meters per second or kilometer per hour
  • Horizontal visibility: meters or american land miles
  • Runway visual range: meters or feet
  • QNH pressure: hectopascal or inch of mercury

Limitations

  • no color codes decoded
  • only russian style remarks (no RMK from auto station, etc)

Example

    import (
        "fmt"

        "github.com/urkk/metar"
    )

    msg, err := metar.NewMETAR("URSS 220630Z 02003MPS 9999 -SHRA SCT050CB OVC086 20/16 Q1015 R02/290060 R06/290060 TEMPO -TSRA BKN030CB RMK R06/03002MPS QFE760")
    if err == nil {
        fmt.Printf("%+v\n", msg)
    }

Links

metar's People

Contributors

urkk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

metar's Issues

Is this still maintained ?

I wanted to check if this is still being actively maintained and if the answer is yes I could submit patches if not I will just continue with my fork.

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.