Skip to content

drnic/metar-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metar-js

METAR weather information parser

Example

$ npm install metar-js
$ node
> require('metar-js').parseMetar('UMMS 101530Z 36003MPS 9999 FEW007 OVC020 06/05 Q1007 R31/290060 NOSIG')
{ airport: 'UMMS',
  hour: 15,
  min: 30,
  day: 10,
  wind: 
   { course: '360',
     speed: 3,
     measure: 'MPS' },
  visibility: 9999,
  clouds: 
   [ { code: 'FEW', base: 7 },
     { code: 'OVC', base: 20 } ],
  temperature: 6,
  dewPoint: 5,
  qnh: 1007,
  rvr: [ { rwy: '31', visibility: 2900 } ],
  forecast: 'NOSIG',
  type: 'METAR' }

About

METAR weather information parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%