The radar types remaining are placed in the dropdown selection list, and if your default image is available, it will be displayed on the page. files in the and dynamically build a selection list based on availability of the radar type and on whether the file is current or older than seconds. Properly configured, the script will locate all the _0. $GR3notCurrentMsg This message will be displayed in HTML comments on the page when the image file is more than seconds old. $GR3notAvailMsg This message will be presented if no current GRLevel3 images are found. The default is 1200 seconds (20 minutes) - files older than this value will not be offered for display. $GR3maxAge This specifies the maximum 'age' of the most recent file for each radar image type. $GR3height This specifies the height in pixels of the image files uploaded by GRLevel3. $GR3width This specifies the width in pixels of the image files uploaded by GRLevel3. JPG: $GR3img = 'jpg' $GR3cnt This specifies the number of image files in the sequence uploaded for each radar image type. $GR3img This specifies the extension for the image file uploaded by GRLevel3. If a current image of this type is not found, then the first available image will be loaded instead. If you have GRLevel3 upload to your document root directory, then set $GR3DIR = '/' $GR3type This specifies your prefered starting radar image type to display when the script is first launched. $GR3DIR This specifies the location of your GRLevel3 image directory starting from the webserver's document root directory. It is used as the first parameter in the GRLevel3 file name _.
#Weathersnoop 3 data types full#
$GR3radar This setting must be the lower-case full name (ICAO) of the NEXRAD radar site. $GR3notCurrentMsg = 'GRLevel3 radar image is not current - more than %s seconds old.' $GR3notAvailMsg = 'GRLevel3 radar images are not available at this time.' $GR3maxAge = 1200 // image_0 has to be less than 20 minutes old for consideration
#Weathersnoop 3 data types series#
$GR3cnt = 10 // number of images in series 10=(_0. $GR3img = 'jpg' // GR3 image type 'jpg' or 'png' $GR3DIR = '/GR3' // set to directory for GRLevel3 images (or '/' for root directory $GR3radar = 'kmux' // set to lower-case full name of NEXRAD radar site (ICAO) Thanks for your kind support!Ī Version History is available - check back from time to time to see if there are updates to scripts you have downloaded earlier.Īnnouncements of version updates and new scripts are made onĪnd saratogaWXPHP Twitter account as they become available. If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website. Many of these scripts are now available on GitHub at You will need to configure them for your own particular weather station website.Ī RSS Feed is available to help keep you informed on updates to the scripts.
I accept no liability for any damages that may ensue from their use. Please note that you use these scripts at your own risk.
The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. PHP for thermometer graphic (WD/VWS/Cumulus).Envt.Canada Lighting Danger (English/French).NOAA ATOM/CAP multifeed processor (PHP5).Aerisweather Forecast with icons - multilingual.Wunderground forecast with icons - multilingual.DarkSky Forecast with icons - multilingual.WXSIM Forecast with icons RSS 2.0 feed multi-lingual.WXSIM Forecast with icons - multi-lingual.
Canada Forecast/Advisory (English/French)