Skip to content

jacobrillema/WSR-88D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WSR-88D

This was an early proof of concept to decode WSR-88D Nexrad radar data obtained from NOAA. While the data structure of the radar product files should ramain the same, it is possible that the mappings are dated, as this was developed in 2010. Do not expect further updates within this repository.

Usage

Further examples may be found within the examples/ folder.

include('classes/NexradDecoder.php');
include('classes/RasterPacketDecoder.php');


$reflectivityDecoder = new RasterPacketDecoder();
$reflectivityDecoder->setFileResource('/tmp/sn.last');
$headers = $reflectivityDecoder->parseMHB();
$description = $reflectivityDecoder->parsePDB();
$symbology = $reflectivityDecoder->parsePSB();
if($description['graphicoffset'] != 0)
{
	$graphic = $reflectivityDecoder->parseGAB();
}

About

Decode NWS NEXRAD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%