Skip to content

Python library that simplifies downloading METAR from NOAA's Aviation Weather Center

Notifications You must be signed in to change notification settings

cptartur/metar-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metar-py

Metar.py is a simple python library that simplifies downloading METAR data from NOAA's Aviation Weather Center. METAR's are partially decoded and presented as python dictionaries allowing for easy use in other aplications.

Installation

Clone repository and run in metar-py directory.

python -m pip install .

Usage

Import and create Metar() object.

from metar.metar import Metar

m = Metar()
r = m.get_metar('ICAO') # ICAO airport code, eg. EPKK
print(r)

Running the tests

Test only require python's default test unittest package. Run with following command

python -m unittest tests/tests.py

About

Python library that simplifies downloading METAR from NOAA's Aviation Weather Center

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages