The National Weather Service has provided its METAR Decoder Software Package to the public. The MDSP Library is a repackaging and modification of the original MDSP to compile and run on BSD and Linux (and pretty much any other OS).
Clay Hopperdietzel has taken over this project, and has given it a new home on SourceForge. The text of this page can only really be considered relevant to version 0.11, as released way back in 2001.
METAR is a French acronym for Aviation Routine Weather Report. It is the standard format for reporting meteorological conditions. As a free service, the National Weather Service continually updates a server with METARs from all over the world.
The MDSP Library provides a programmer with two functions, the major one being DcdMETAR, which decodes a METAR into structures provided by the library. Also prtDMETR, which prints out a decoded METAR structure.
README, and added
make clean. The code has remained unchanged, so I did not bump the version number.
Visit the SourceForge project page.