and other useful files
Below are a number of scripts developed for use on CarterLake.org. They are freeware and may be used or modified as needed.
No hotlinking of scripts, please.
You may want to right-click and save these to your desktop, for opening in a text editor.
Not sure if you have PHP? Click here
CarterLake.org PHP Scripts
PHP custom tags - This simple script powers CarterLake.org!
PHP NOAA Advisory Text - Demo
PHP Weather Underground Radar Text - Demo
Advanced PHP NOAA 5-day forecast for Eastern, Southern and Central region NOAA websites - Demo. Ken at Saratoga Weather has taken over development of this script. It's now XHTML 1.0 compliant. Go Here
No point printable forecast? Check out Ken's Western Region PHP NOAA 5-day forecast
Radar Resize with Cache & Second Version- Demo Resizes our radar image, includes caching and "Radar Down" text in image.
Simple Radar Resize - Demo Simple code for resizing radar image on the fly.
TRACreportshort - Demo (under Omaha Valley StormTracker). The TRACreportshort takes Nexstorm's full TRACreport and shortens it to a more managable size for displaying.
TRAC Graphic - Demo. A web based add-on to Nexstorm's TRAC Report, the TRAC Graphic takes the location of storm cells in the report and maps them to a graphic for display on a website. This was a joint project by myself and Jozef in Belgium (joske-online.be). The script is featured on Astrogenic's website!
PHP client graphs - Demo These are US versions of graphs by Jozef in Belgium (joske-online.be), derived from Kevin's work at TNET Weather. These graphs require the installation of JP Graph. The graphs require Weather Display and the clientraw feature.
Rotating wind arrow - Demo This is a proof of concept idea from code developed by Ben Summers.
METAR Temps on Radar - Demo This takes data from a list of METARs and outputs a GRLevelx placefile of data..
Useful filesAll NOAA County Codes
All NOAA Zone Codes (or NOAA Zone Codes by Map)
Weather Display Photo-realistic Today Icons
Compass point directional graphics - Set 1, Set 2, Set 3
Large list of METARs delimited by pipes with longitude and latitude
Other sites with weather-related PHP
TNET Weather - PHP Weather Calculation Functions
Saratoga Weather - PHP and PERL weather scripts
joske-online.be - Uses Weather Display's clientraw and PHP
PHP Weather - Decodes and display METAR data
NOAH Weather - Builds webpage using public weather info, primarily from METARs and the National Weather Service.
Mark Woodward's GetWX script - decodes METAR data
PHP Wx Stickers - by St. James City Weather demo
Fetch forecast at the Australian Bureau of Meteorology - by Dave Keller
What is PHP?
PHP is an open source, server-side, HTML embedded scripting language used to create dynamic Web pages. In an HTML document, PHP script (similar syntax to that of Perl or C ) is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP instead of having to rely on heavy amounts of code to output HTML. And, because PHP is executed on the server, the client cannot view the PHP code. PHP can perform any task that any CGI program can do. PHP is a means for making weather webpages come alive with interactive and fluid content.
Check with your web site hosting company. You may already have PHP and not even know it!
URBAN/SMALL STREAM FLOOD ADVISORY - Alerts the public to flooding, which is generally only an inconvenience (not life-threatening) to those living in the affected area. Issued when heavy rain will cause flooding of streets and low-lying places in urban areas. Also used if small rural or urban streams are expected to reach or exceed bankfull. Some damage to homes or roads could occur.