deformed-offering

Free Weather Website Templates

They're free, but use 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. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

Many of these scripts are now available on GitHub at https://github.com/ktrue

Buy Me A Coffee 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.
Thanks for your kind support!

A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier. Announcements of version updates and new scripts are made on WXForum.net and Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

Note: Twitter widget has been disabled 3-Jul-2023 since it no longer displays the recent update Tweets.

This page was updated Friday, 13-Oct-2017 2:18 PM

PHP/AJAX Website Template Set - Settings.php - Base-Canada

The configuration for Settings.php discussed here is for the Base-Canada Specific template set.

<?php
############################################################################
# Sitewide configuration - website style and features
############################################################################

$SITE['CSSscreen']        = 'weather-screen-blue-narrow.css'// Default screen 800px design
//   Note: $SITE['CSSscreen'] will be overridden if the Theme Switch (below) is enabled.
//   To lock your site to use only one CSS as specified in $SITE['CSSscreen'], just
//   turn off the Theme Switcher.
$SITE['CSSprint']        = 'weather-print-php.css';
#
#$SITE['CSSscreen']        = 'weather-screen.css'; // Classic design
#$SITE['CSSprint']        = 'weather-print.css';

# Mike Challis' Theme Switch configuration
$SITE['allowThemeSwitch']   = true;  // set to false to disable the use of Theme Switcher 
$SITE['CSSscreenDefault'] = 'weather-screen-blue.css'// leave -narrow or -wide off this .. just change color here
$SITE['CSSwideOrNarrowDefault'] = 'narrow'// 'narrow' or 'wide'
# CSSsettings_mode
# sets allowable user style select options:
# 1 user can select style and screen width (show style select and screen width select)
# 2 user can select styles only (hide screen width select)
# 3 user can select screen width only (hide style select)
$SITE['CSSsettings_mode'] = 1;  // set to 1, 2 or 3

$SITE['flyoutmenu'] = true// set to false to use the menu list inside menubar.php instead

$SITE['charset']        = 'ISO-8859-1'// default character set for webpages (iso-8859-1=latin)
#
# Multilanguage support 
#
$SITE['lang'] = 'en';                // default language for website to use
$SITE['allowLanguageSelect'] = true// set to false to disable the use of language selector
$SITE['useLanguageFlags'] = true;    // true=show flags, false=show language 2-char abbreviations
$SITE['languageSelectDropdown'] = true// true=show dropdown list for languages, false=show linear flags list
$SITE['languageSelectButton'] = false;  // true=show 'Set' button for language select, false=use onchange to submit
$SITE['langavail'] = array('en',     // select languages to offer here.
// array('en', should be first entry on line above
// other languages with the Canada set can be enabled by installing language packs
//  'af',  // afrikaans
//  'ct', // 'catalan',
//  'dk', // 'danish',
//  'nl', // 'dutch',
//  'fi', // 'finnish',
  
'fr'// 'french',
//  'de', // 'german',
//  'el', // 'greek',
//  'it', // 'italian',
//  'no', // 'norwegian',
//  'pl', // 'polish',
// 'pt', // 'portuguese',
//  'es', // 'spanish',
//  'se', // 'swedish',
);
// if your software uploads almanac dates using a language OTHER THAN English, please put the month
// names in your language to replace the English ones below.  This is used primarily by the
// wxastronomy.php page for the local dates of moon phases, solistices, and equinoxes
$SITE['monthNames'] = array(  // for wxastronomy page .. replace with month names in your language 
'January','February','March','April','May','June',
'July','August','September','October','November','December'
);
// example:
//$SITE['monthNames'] = array(  // French for wxastronomy page .. replace with month names in your language
// "janvier","février","mars","avril","mai","juin",
//     "juillet","août","septembre","octobre","novembre","décembre"
//);

############################################################################
# Sitewide configuration - Station location, identity and date/time info
############################################################################

$SITE['organ']            = 'Canada Multilingual Website with PHP &amp; AJAX';
$SITE['copyr']            = '&copy; ' date("Y",time()) . ', Your Weather Website';
$SITE['location']       = 'Somewhere, Some Province, Canada';
$SITE['email']            = 'mailto:somebody@somemail.org';
# Station location: latitude, longitude, cityname
$SITE['latitude']        = '37.27153397';    //North=positive, South=negative decimal degrees
$SITE['longitude']        = '-122.02274323';  //East=positive, West=negative decimal degrees
$SITE['cityname']        = 'Saratoga';

$SITE['tz']             = 'America/Los_Angeles'//NOTE: this *MUST* be set correctly to
// translate UTC times to your LOCAL time for the displays.
//  http://us.php.net/manual/en/timezones.php  has the list of timezone names
//  pick the one that is closest to your location and put in $SITE['tz'] like:
//    $SITE['tz'] = 'America/Los_Angeles';  // or
//    $SITE['tz'] = 'Europe/Brussels';
// note: date format used for PHP parts only.  Weather software dates are not processed
// except on the astronomy page
// $SITE['timeFormat'] = 'D, d-M-Y g:ia T';  // Day, 31-Mar-2006 6:35pm Tz  (USA Style)
// $SITE['timeFormat'] = 'm/d/Y g:ia';      // USA  format 03/31/2006 14:03
$SITE['timeFormat'] = 'd/m/Y H:i';       // Euro format 31/03/2006 14:03
// $SITE['timeFormat'] = 'Y-m-d H:i';       // ISO  format 2006-03-31 14:03

// $SITE['timeOnlyFormat'] = 'g:ia';          // USA format h:mm[am|pm\
$SITE['timeOnlyFormat'] = 'H:i';          // Euro format hh:mm  (hh=00..23);
$SITE['dateOnlyFormat'] = 'd/m/Y';        // for 31-Mar-2008 or 'j/n/Y' for Euro format

############################################################################
# Sitewide configuration - support scripts configuration
############################################################################

###########################################################################
# These values should reflect the units-of-measure your weather station
# uses to report the weather data when processing weather tags.
# Note: if you change them here, make sure to make the corresponding
#   changes in the ajax[WXname]wx.js AJAX script also.
###########################################################################
// Canada Settings 
$SITE['WDdateMDY'] = false// for weather software date format of month/day/year.  =false for day/month/year
$SITE['uomTemp'] = '&deg;C';  // ='&deg;C', ='&deg;F'
$SITE['uomBaro'] = ' hPa';    // =' hPa', =' mb', =' inHg'
$SITE['uomWind'] = ' km/h';   // =' km/h', =' kts', =' m/s', =' mph'
$SITE['uomRain'] = ' mm';     // =' mm', =' in'
$SITE['uomSnow'] = ' cm';     // =' cm', =' in'
$SITE['uomDistance'] = ' km';  // or ' miles' -- used for Wind Run display
$SITE['uomPerHour'] = '/hr';
//
$SITE['imagesDir'] = './ajax-images/';  // directory for ajax-images with trailing slash
// 
$SITE['cacheFileDir']   =  './cache/';   // directory to use for scripts cache files .. use './' for doc.root.dir
// 
$SITE['UVscript']        = 'get-UV-forecast-inc.php'// worldwide forecast script for UV Index
//    comment out above line to exclude UV forecast from dashboard, gizmo and wxuvforecast.php page
//
// if you have WXSIM installed set $SITE['WXSIM'] = true; otherwise set it to false
$SITE['WXSIM']            = true;  // Set to false if you have not installed WXSIM
$SITE['WXSIMscript']     = 'plaintext-parser.php'// script for decoding plaintext.txt into icons
$SITE['defaultlang']    = 'en';   // 'en' for English (WXSIM plaintext-parser.php)

# fcsturlEC is for Environment Canada forecast (ec-forecast.php)
$SITE['fcsturlEC']        = 'http://weatheroffice.gc.ca/city/pages/on-107_metric_e.html';
 
$SITE['fcsticonsdir'] = './forecast/images/'// NOAA-style icons for NWS, WU, WXSIM forecast scripts
$SITE['fcsticonstype']= '.jpg'// default type='.jpg' -- use '.gif' for animated icons from http://www.meteotreviglio.com/
#
$SITE['fcsticonsdirEC'] = './ec-icons/';      // EC forecast icons for Canada (ec-forecast.php)
//
# --- new settings with ec-forecast.php V5.00+
$SITE['ECshowConditions'] = true// =true; to show the current conditions table for the location
$SITE['ECshowAlmanac'] = true;    // =true; to show the Almanac table
$SITE['ECshow24hour'] = true;     // =true; to show the 24-hour forecast table
#
$SITE['ECiconType'] = '.gif';            // ='.gif' or ='.png' for ec-icons file type 
// Note: for .png, make sure you have installed the PNG icons in the $SITE['fcsticonsdirEC'] directory
//
// The optional multi-city forecast .. make sure the first entry is for the $SITE['fcsturlEC'] location
//*
$SITE['ECforecasts'] = array(
 
// Location|forecast-URL  (separated by | character)
'St. Catharines, ON|http://weather.gc.ca/city/pages/on-107_metric_e.html'// St. Catharines, ON
'Vancouver, BC|http://weather.gc.ca/city/pages/bc-74_metric_e.html',
'Calgary, AB|http://weather.gc.ca/city/pages/ab-52_metric_e.html',
'Regina, SK|http://weather.gc.ca/city/pages/sk-32_metric_e.html',
'Winnipeg, MB|http://weather.gc.ca/city/pages/mb-38_metric_e.html',
'Ottawa (Kanata - Orléans), ON|http://weather.gc.ca/city/pages/on-118_metric_e.html',
'Montréal, QC|http://weather.gc.ca/city/pages/qc-147_metric_e.html',
'Happy Valley-Goose Bay, NL|http://weather.gc.ca/city/pages/nl-23_metric_e.html',
'St. John\'s, NL|http://weather.gc.ca/city/pages/nl-24_metric_e.html',
'Fredericton, NB|http://weather.gc.ca/city/pages/nb-29_metric_e.html',
'Halifax, NS|http://weather.gc.ca/city/pages/ns-19_metric_e.html',
'Charlottetown, PE|http://weather.gc.ca/city/pages/pe-5_metric_e.html',
'Whitehorse, YT|http://weather.gc.ca/city/pages/yt-16_metric_e.html',
'Yellowknife, NT|http://weather.gc.ca/city/pages/nt-24_metric_e.html',
'Resolute, NU|http://weather.gc.ca/city/pages/nu-27_metric_e.html',
'Iqaluit, NU|http://weather.gc.ca/city/pages/nu-21_metric_e.html',
); 

//*/ 
# --- end of new settings with ec-forecast.php V2.16+
 
// in the following section, enable settings for ONE primary forecast organization
// pick which script AND org are to be used for your forecast here: (last uncommented pair will
// be the ones used on the wxforecast.php page and in your dashboard

$SITE['fcstscript']   = 'ec-forecast.php';    // Canada forecasts from Environment Canada
$SITE['fcstorg']        = 'EC';    // set to 'EC' for Environment Canada

// Uncomment the two lines below to use WXSIM as the ONLY forecast script to use
// $SITE['fcstscript']    = 'plaintext-parser.php';    // WXSIM forecast (if only forecast script)
// $SITE['fcstorg']        = 'WXSIM';    // set to 'WXSIM' for WXSIM forecast

// radar settings for wxradar.php page
$SITE['ecradar']    = 'WKR';  // set to default Site for ec-radar (same as id=xxx on EC website)
//                               set to 'NAT' for Canada national composite map
$SITE['eclightningID'] = 'NAT'// set to lightning display area
/* available lightning display areas are:
'NAT' - National (all provinces)
'ARC' - Arctic (YT,NT,NU
'PAC' - Pacific (BC,AL,S-YT,S-NT)
'WRN' - Praries (AL,SK,MT)
'ONT' - Ontario (ON)
'QUE' - Quebec (QC)
'ATL' - Atlantic (NL,NB,NS,PIE) 
*/

##########################################################################
# end of configurable settings
##########################################################################
?>

Sitewide configuration - website style and features

 

$SITE['CSSscreen'] = 'weather-screen-blue-narrow.css';
$SITE['CSSprint'] = 'weather-print-php.css';
These settings control which CSS files are to be used for both the screen and print formats.
You may use your own customized version of the Carterlake CSS if you include the unique CSS settings for the ajax-dashboard/ajax-gizmo in your copy of the CSS.
Note: $SITE['CSSscreen'] will be overridden if the Theme Switch (below) is enabled.
To lock your site to use only one CSS as specified in $SITE['CSSscreen'], just turn off the Theme Switcher.
$SITE['allowThemeSwitch'] = true;
This setting controls the use of Mike Challis' Theme Changer. If set to true, then the Theme Changer is enabled and browsers can pick among the color schemes and wide/narrow format.
If set to false, then the Theme Changer is disabled, and the screen style chosen in $SITE['CSSscreen'] is enforced throughout the website.
$SITE['CSSscreenDefault'] = 'weather-screen-orange.css';
$SITE['CSSwideOrNarrowDefault'] = 'narrow';
These settings control the default (first time browsed) look for your website when
$SITE['allowThemeSwitch'] = true; As distributed, the Orange, Narrow screen is the default.
$SITE['CSSscreenDefault'] should be set to 'weather-screen-[color].css' where [color] is
'blue','orange','green','red','teal','silver'
$SITE['CSSwideOrNarrowDefault'] should be set to either 'wide' or 'narrow'
$SITE['flyoutmenu'] = true;
This setting controls the function of the menu system (New with V1.14).
If $SITE['flyoutmenu'] = true; then the flyout-menu system will be used.
If $SITE['flyoutmenu'] = false; then the menubar.php menu system will be used.
$SITE['charset'] = 'ISO-8859-1';
This setting specifies the character set the webpage uses. The default is the Latin set.
$SITE['lang']
This setting controls the default language to be presented from among the choices in $SITE['langavail'].
The default is 'en' (English).
$SITE['allowLanguageSelect']
This setting controls the viewer's ability to change languages.
= true allows the changes,
= false denies the ability to change from the $SITE['lang'] setting below.
$SITE['useLanguageFlags']
This setting controls the display of country flags representing the languages available.
= true shows the flags,
= false will show the two-letter country/language designator instead.
$SITE['languageSelectDropdown'] = true;
This setting controls whether to show the dropdown list for language selection.
= true shows dropdown list for languages
= false shows linear flags list or language name abbreviations based on $SITE['useLanguageFlags'] above.
$SITE['languageSelectButton'] = false;
This setting determines whether to show a 'Set' button for the dropdown language select list.
= true show 'Set' button for language select dropdown list
= false allows the JavaScript 'onchange' event to do a submit when the selection changes in the language dropdown list.
$SITE['langavail']
This setting enables which language translations are to be offered. For each language offered, five files are needed in the website (LL is the language translation identifier):

language-LL.txt - primary translation file
language-LL.js - translation file for the AJAX JavaScript (ajax[WXsftw]wx.js)
ajax-images/flag-LL.gif - flag image for the language
wxabout-LL.html - About page in language LL
plaintext-parser-lang-LL.txt - translation file for the WXSIM forecast (needed if WXSIM is used)

To enable a language, just add the 2-character language code into the array. To remove languages, simply comment out the entry for that language with '//' in the first two columns.
$SITE['monthNames'] = array(
'January','February','March','April','May','June',
'July','August','September','October','November','December'
);
This setting is used by the wxastronomy.php page to parse the lunar/solar dates from Weather-Display.
If your dates on the wxastronomy.php appear correct, there is no need to use this setting.
If the dates are shown in a language other than English, then use this setting to specify the names of the months in your language.
For example, a French specification would appear as:
$SITE['monthNames'] = array(
"janvier","février","mars","avril","mai","juin",
"juillet","août","septembre","octobre","novembre","décembre"
);

 

 

Sitewide configuration - Station location, identity and date/time

 

$SITE['organ'] = 'Canada Weather Website with PHP &amp; AJAX';
This specifies the text to use in the Heading area on all pages in the website.
$SITE['copyr'] = '&copy; ' . date("Y",time()) . ', Your Weather Website';
This specifies the Copyright information used in the footer area on all pages in the website. Note that the code shown will automatically display the current year in the copyright notice.
$SITE['location'] = 'Somewhere,Some Province, Canada';
This specifies the small subheader on the left of the heading area .. use it to identify your city, state/provence, country.
$SITE['email'] = 'mailto:somebody@somemail.org';
Put the email address you'd like for folks to contact you. This link appears in the footer area on each page.
$SITE['latitude'] = '37.27153397';
$SITE['longitude'] = '-122.02274323';
Set your station location (latitude and longitude) in decimal degrees. Positive numbers for North Latitude and East Longitude. Negative numbers for South Latitude and West Longitude. Sample above is for Saratoga, CA, USA.
$SITE['cityname'] = 'Saratoga';
Set your city/town name here.
$SITE['tz'] = 'America/Los_Angeles';
This setting specifies the time zone for your weather station.
It's very important to get this correctly specified as many webservers don't run with the same local time as your website.
Use http://us.php.net/manual/en/timezones.php for timezone names to use based on your locale.
Pick the one that is closest to your location and put in $SITE['tz'] like:
$SITE['tz'] = 'Pacific/Auckland'; or
$SITE['tz'] = 'Europe/Brussels';
$SITE['timeFormat'] = 'D, d-M-Y g:ia T';
This specifies how to display the long-format date/time on the PHP pages. It is used in a PHP date(); statement to format date/time for display. See the allowed format parameters here.
Use $SITE['timeFormat'] = 'm/d/Y g:ia'; for USA format 03/31/2006 2:03pm
Use $SITE['timeFormat'] = 'd/m/Y H:i'; for Euro format 31/03/2006 14:03
Use $SITE['timeFormat'] = 'Y-m-d H:i'; for ISO format 2006-03-31 14:03
Note: the weather software internal dates on weather variables included via the tags file are NOT processed -- they remain in the format specified with your weather software setup.
$SITE['timeOnlyFormat'] = 'g:ia';
This specifies how time (without date) is to be formatted on the PHP pages.
Use $SITE['timeOnlyFormat'] = 'H:i'; for European 24hr time.
Note: the weather software internal times on weather variables included via the tags are NOT processed -- they remain in the format specified with your weather software setup.
$SITE['dateOnlyFormat'] = 'd-M-Y';
This specifies how date (without time) is to be formatted on the wxtrends.php page.
Note: make sure the $SITE['WDdateMDY'] variable is set correctly otherwise some strange dates will appear on your wxtrends.php page.

 

Sitewide configuration - support scripts configuration

 

$SITE['WDdateMDY'] = false';
This specifies how your weather software is set for internal date format.
Use $SITE['WDdateMDY'] = true'; for weather software internal dates in month/day/year format. (Base-USA)
Use $SITE['WDdateMDY'] = false'; for weather software internal dates in day/month/year format. (Base-Canada, Base-World)
$SITE['uomTemp'] = '&deg;C';
$SITE['uomBaro'] = ' hPa';
$SITE['uomWind'] = ' km/h';
$SITE['uomRain'] = ' mm';
$SITE['uomSnow'] = ' cm';
$SITE['uomDistance'] = ' km';
$SITE['uomPerHour'] = '/hr';
Configure these settings to display the correct text on the ajax-dashboard and ajax-gizmo for your particular units of measure for your website. They should match units with what your weather software uploads in the [WXsftw]tags.php file. These settings are used for the PHP display of the page. The AJAX-enabled contents will overwrite the displays on the dashboard and gizmo with units determined by the ajax[WXsftw]wx.js script settings.
$SITE['imagesDir'] = './ajax-images/';
This specifies the relative FILE location for the images used by the ajax-dashboard, ajax-gizmo and several other scripts in the package. It contains the current conditions icons as well. Weather-Display plugin only: the ajaxWDwx.js script should have the same location specified.
$SITE['cacheFileDir'] = './cache/';
// directory to use for scripts cache files .. use './' for doc.root.dir
$SITE['UVscript'] = 'get-UV-forecast-inc.php';
This variable specifies the script to get the UV forecast for your area. The default setting shown uses your specified latitude and longitude to obtain the UV forecast from KNMI/EMA at www.temis.nl -- this value is used in the ajax-dashboard to display a UV forecast in lieu of a Solar and/or UV sensor on your station.
$SITE['WXSIM'] = true;
$SITE['WXSIMscript'] = 'plaintext-parser.php';
If you have WXSIM operating on your website, this specifies the formatting script to use.
Set $SITE['WXSIM'] = false; if you aren't using WXSIM.
$SITE['defaultlang'] = 'en';
This setting specifies the default language to use for the WXSIM plaintext-parser.php. Please ensure you have the appropriate language plugin file (plaintext-parser-lang-XX.txt) in the same directory as plaintext-parser.php in order to engage this feature. You may also have to change the $SITE['charset'] setting if your language file is not using iso-8859-1 Latin character set.
$SITE['fcsturlEC'] = 'http://weatheroffice.gc.ca/city/pages/on-107_metric_e.html';
This setting specifies the Environment Canada URL for the weather forecast and conditions page - it is used by the ec-forecast.php script to get the forecast and any current warnings for the forecast area.
$SITE['fcsticonsdir'] = './forecast/images/';
This specifies the relative FILE location of the icon set used by the forecast scripts (advforecast.php, WU-forecast.php, WXSIM plaintext-parser.php)
$SITE['fcsticonstype'] = '.jpg';
This specifies the file type of the icon set used by the forecast scripts ( WU-forecast.php, WXSIM plaintext-parser.php)
='.jpg'; default - use the NOAA photo-style Saratoga icons.
='.gif'; setting if you have installed the animated forecast icons from www.meteotreviglio.com
$SITE['fcsticonsdirEC'] = './ec-icons/';
This setting specifies the relative FILE location of the directory containing the Environment Canada forecast icons. This is used by the ec-forecast.php script for the forecast icons in the ajax-dashboard and wxforecast.php page.
$SITE['ECshowConditions'] = true;
This setting specifies the display of the conditions table (if available for the location). (used with ec-forecast.php V5.00+)
=false; Don't show the conditions table display.
=true; Show the conditions table display. (if forecast $doPrint = true; )
$SITE['ECshowAlmanac'] = true;
This setting specifies the display of the Almanac table (used with ec-forecast.php V5.00+)
=false; Don't show the Almanac table..
=true; Show the Almanac table (if forecast $doPrint = true; )
$SITE['ECshow24hour'] = true;
This setting specifies the display of the 24-hour forecast table (used with ec-forecast.php V5.00+)
=false; Don't show the 24-hour forecast table..
=true; Show the 24-hour forecast table (if forecast $doPrint = true; )
$SITE['ECiconType'] = '.gif';
This setting specifies the icon type to use for the ec-forecasts.
='.gif'; uses the old style EC GIF icons.
='.png' uses the new style EC PNG icons (Kudos to Thayer Fox for producing the new icon set which is downloadable from the install page)
$SITE['ECforecasts'] = array(
// Location|forecast-URL (separated by | character)
'St. Catharines, ON|http://weather.gc.ca/city/pages/on-107_metric_e.html', // St. Catharines, ON
'Vancouver, BC|http://weather.gc.ca/city/pages/bc-74_metric_e.html',
'Calgary, AB|http://weather.gc.ca/city/pages/ab-52_metric_e.html',
'Regina, SK|http://weather.gc.ca/city/pages/sk-32_metric_e.html',
'Winnipeg, MB|http://weather.gc.ca/city/pages/mb-38_metric_e.html',
'Ottawa (Kanata - Orléans), ON|http://weather.gc.ca/city/pages/on-118_metric_e.html',
'Montréal, QC|http://weather.gc.ca/city/pages/qc-147_metric_e.html',
'Happy Valley-Goose Bay, NL|http://weather.gc.ca/city/pages/nl-23_metric_e.html',
'St. John\'s, NL|http://weather.gc.ca/city/pages/nl-24_metric_e.html',
'Fredericton, NB|http://weather.gc.ca/city/pages/nb-29_metric_e.html',
'Halifax, NS|http://weather.gc.ca/city/pages/ns-19_metric_e.html',
'Charlottetown, PE|http://weather.gc.ca/city/pages/pe-5_metric_e.html',
'Whitehorse, YT|http://weather.gc.ca/city/pages/yt-16_metric_e.html',
'Yellowknife, NT|http://weather.gc.ca/city/pages/nt-24_metric_e.html',
'Resolute, NU|http://weather.gc.ca/city/pages/nu-27_metric_e.html',
'Iqaluit, NU|http://weather.gc.ca/city/pages/nu-21_metric_e.html',
);

This optional setting allows ec-forecast.php (V2.16+) to offer a selection box on the wxforecast.php page for multiple city forecasts.
Note: make sure the first entry has the same URL as in $SITE['fcsturlEC'].
$SITE['fcstscript'] = 'ec-forecast.php';
$SITE['fcstorg'] = 'EC';
This setting specifies the forecast organization (EC) and the script location. The default will use Environment Canada as the forecast source. Optionally, you can use WXSIM for the forecast source by setting
$SITE['fcstscript'] = 'plaintext-parser.php'; and
$SITE['fcstorg'] = 'WXSIM';
This will cause the WXSIM forecast icons to appear in the ajax-dashboard and WXSIM forecast to be used on the wxforecast.php page.
$SITE['ecradar'] = 'WKR';
This setting specifies the default Environment Canada radar site to be used by ec-radar.php script on the wxradar.php page for animated display of the radar graphics.
$SITE['eclightningID'] = 'NAT';
This setting specifies the default Environment Canada area for ec-lightning.php to display the lightning hazard map on wxeclightning.php page. The available areas are:
'NAT' - National (all provinces)
'ARC' - Arctic (YT,NT,NU
'PAC' - Pacific (BC,AL,S-YT,S-NT)
'WRN' - Praries (AL,SK,MT)
'ONT' - Ontario (ON)
'QUE' - Quebec (QC)
'ATL' - Atlantic (NL,NB,NS,PIE)
deformed-offering