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.
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.
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!
LIGHTNING SAFETY - If you are outdoors, lightning is in the immediate area, and there is no safe location nearby, get into the lightning desperation position. Crouch down but do NOT lay down. Bend your knees down while keeping your feet close together.