phpBuoy

Sample phpBuoy 2.0 output:
Station Name Swell Wind Water Temp
Monterey12.8 ft13 secNNW (340°)16 - 19kts54F
Point Sur14.8 ft11 sec----53F
Santa Maria13.8 ft15 secN (360°)14 - 17kts55F
Harvest Buoy15.7 ft12 sec----56F
West Santa Barbara----N (360°)17 - 21kts57F
East Santa Barbara----N (350°)10 - 12kts56F
Anacapa Passage5.2 ft11 sec----58F
S. Santa Rosa Island13.4 ft10 secNNW (330°)21 - 27kts58F
Santa Cruz Basin5.9 ft9 sec----58F
Santa Monica Basin----NW (310°)14 - 17kts60F
San Pedro6.2 ft8 sec----60F
Oceanside7.2 ft8 sec----60F
Torrey Pines7.5 ft8 sec----60F
La Jolla6.6 ft8 secNNE (30°)10--
Point Loma9.5 ft9 sec----60F
--------------------

phpBuoy is a simple little PHP script which parses the realtime buoy data provided by the National Data Buoy Center and presents it in a nicely formatted HTML table. It's quite easy to use as a PHP include and can get data for any buoy listed on the NDBC site.

phpBuoy comes with complete customization instructions within the file, including the ability to display wind and temperature data in either metric or English units, select from 12 or 24 hour time display, and choose from American MM-DD-YYYY or International DD-MM-YYYY date formats.

phpBuoy should run on any PHP-enabled webserver that has access to a writable directory (it caches the buoy data for better performance).

phpBuoy is released under the Gnu General Public License and is completely free to download, use and modify, provided that appropriate credit is given where it's due.

phpBuoy is pretty useful! People from all over the world have contacted me to let me know what they're doing with the script. If you get a chance to use it, I'd love to hear about it.

--------------------
Changelog:
 
May 6, 2014 - 2.1Updated for compatibility with PHP 5.4+
 
October 1, 2013 - 2.0Version 2.0 Released! New layout with support for the display of multiple buoys.
 
August 6, 2007 - 1.0.4Fixed formatting error caused by new double header lines in NOAA data files.
 
July 25, 2006 - 1.0.3Fixed link to NOAA realtime HTTP data source to reflect new "../realtime2/" address.
 
May 28, 2003 - 1.0.2Changed display of expected but temporarily unavailable data so that it is presented more gracefully.
 
February 19, 2003 - 1.0.1Fixed conversion of wind direction degress to compass points to make it more accurate ;)
 
February 8, 2003 - 1.0.0Initial release of phpBuoy

phpBuoy was created by Steve Lange of Santa Barbara Surf Implement