Giter VIP home page Giter VIP logo

aviationweather's Introduction

aviationweather - Fetch aviation weather data

Node.js engine for global aviation weather. Written with typescript.

Examples

import { getMetar } from "aviationweather";

getMetar({ ids: "KJFK", format: "json" }).then(({ data }) => console.log(data));

Help or support

Join discord server

aviationweather's People

Contributors

dependabot[bot] avatar samarmeena avatar

Stargazers

Brad avatar Narcis-Ionuț B. avatar Vic avatar

Watchers

 avatar

aviationweather's Issues

Incorrect VISIB data element when compared to raw METAR in same object

See below RAW METAR and compare it to VISIB.

I noticed this when I checked the avaiation weather map android app and it was saying all clear w/ respect to VIS - But our internal server app was still saying VIS was poor. :(

I compared the raw metar for both apps - Mobile app works fine (not sure what backend modules they are using) to this aviation weather model - And obviously there were diffs.

I checked module source code and did not easily see where the raw METAR data was being parsed... Not sure why VISIB is off.

Any ideas?

Example of live data dump:
"airportCode": "KILN",
"airportName": "Wilmington Arpt, OH, US",
"icaoId": "KILN",
"visib": "2",
"wspd": "4",
"clouds": 2300,
"rawMetar": "KILN 030954Z AUTO 10004KT 4SM BR OVC023 07/07 A3013 RMK AO2 SLP214 T00720067",
"reportTime": "2024-03-03 10:00:00",
"receiptTime": "2024-03-03 09:58:13"

I also noticed it on this one:

    "airportCode": "KLUK",
    "airportName": "Cincinnati/Lunken Fld, OH, US",
    "icaoId": "KLUK",
    "visib": "2",
    "wspd": "0",
    "clouds": 0,
    "rawMetar": "KLUK 031042Z AUTO 00000KT M1/4SM R21L/1000V1200FT FG VV002 06/05 A3014 RMK AO2 T00560050",

    "reportTime": "2024-03-03 10:42:00",
    "receiptTime": "2024-03-03 10:46:05"

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.