skydivejkl / metar.js

Javascript parser for METAR weather reports
http://skydivejkl.github.io/metar.js
MIT License
47 stars 23 forks source link

Added METAR|SPECI type parsing #15

Closed rheh closed 9 years ago

rheh commented 9 years ago

The NOAA data feed seems to consistently put METAR or SPECI before the observation. This patch will optionally parse this when present. Also http://en.wikipedia.org/wiki/METAR implies the METAR | SPECI pre-fix is normal.

esamattis commented 9 years ago

Add test for the METAR prefix too? Thanks.

rheh commented 9 years ago

@epeli anything else needed?