deformed-offering

Weather Website Scripts

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.

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.

This page was updated Wednesday, 08-Feb-2017 10:02 PM

Google Regional Mesonet Map Display

The Affiliated Regional Weather Networks have been quite popular, and now it is possible for you to add a Google map display of conditions from your network to your own website. We do prefer that the script(s) be used by members who contribute their data to a Regional Weather Network. This script uses the Google Maps API V3 code and now requires a Google Map Browser JavaScript API Key for operation.

This script set is intended to replace the V2.x [netID]-mesomap.php script for Regional Network members and provides multiple language support for Standalone or Saratoga Template use.

Here's a sample of the display:

 

SWN

Temperature [ F° ] Dew Point [ F° ] Humidity [ % ] Wind [ mph ] Rain Today [ in ] Pressure [ inHg ] Fire Danger [Chandler Burning Index]

[Weather, Webcam, Lightning] Weather, WebCam, Lightning, [Weather, Lightning] Weather, Lightning, [Weather, Webcam] Weather, WebCam, [Weather] Weather

Conditions data shown was collected
from Sun, 26-Mar-2017 03:30:18 to Sun, 26-Mar-2017 04:05:14

Regional mesonet-map script by Saratoga-Weather.org

Current Conditions

Conditions data shown was collected
from Sun, 26-Mar-2017 03:30:18 to Sun, 26-Mar-2017 04:05:14

Note: Click on the table column title to change the order of that column's vaues.


Area

Station
Current
Cond.
Temp.
°F
Dew Point
°F
Humid
%
Wind
mph
Gust
mph
Rain
in
Pressure
in
Trend Fire
Danger
Last
Update
Arizona Anthem N Parkside Clear 55 35 47 NNE Wind from NNE 7 6 0.00
29.88
Steady 20.8 Low  04:04:44
Arizona Catalina Metar KTUS: Clear 48 33 56 NE Wind from NE 0 0 0.00
29.84
Steady 10.7 Low  04:03:40
Arizona Linden Metar KSOW: Clear 32 28 85 SW Wind from SW 0 0 0.00
29.88
Steady -1.6 Low  04:04:53
Arizona Maricopa 57 32 39 WNW Wind from WNW 1 1 0.00
29.86
Steady 33.7 Low  04:00:35
Arizona Mesa Overcast 56 36 47 WSW Wind from WSW 0 0 0.00
29.83
Steady 21 Low  04:04:31
Arizona NE Phoenix Metar KSDL: Clear 55 35 48 NNW Wind from NNW 0 0 0.00
29.86
Steady 19.6 Low  04:05:00
Arizona Oracle Metar KTUS: Clear 48 31 51 Wind from W 0 0.00
29.81
Steady 15.3 Low  04:03:54
Arizona Pepper Ridge Partly Cloudy 52 36 55 NW Wind from NW 0 0 0.00
29.83
Steady 12 Low  03:55:16
Arizona Tucson Metar KTUS: Clear 53 35 51 NNW Wind from NNW 0 0 0.00
29.82
Steady 15.9 Low  04:04:58
Arizona Tucson-2 Metar KTUS: Clear 53 26 35 SSE Wind from SSE 2 6 0.00
29.72
Steady 41.3 Low  04:04:58
Arizona Youngtown Metar KIWA: Clear 54 36 51 SE Wind from SE 0 0 0.00
29.81
Steady 16 Low  04:04:47
California Acton Metar KPMD: Clear 39 34 83 NE Wind from NE 0 0.00
29.85
Falling Slowly -1 Low  04:01:29
California Arnold Clear 39 38 96 Wind from W 0 0 0.00
30.16
Falling Slowly -2.3 Low  04:04:57
California Arnold-2 Metar KO22: Few Clouds 40 37 89 Wind from N 0 0 0.00
30.13
Steady -1.7 Low  04:04:49
California Camarillo Metar KCMA: Clear 50 47 92 Wind from E 1 3 0.00
30.01
Steady -1.7 Low  04:04:59
California Carlsbad Overcast 54 -26 3 Wind from N 0 0 0.00
30.00
Steady 200.4 Extreme  04:05:00
California Duarte Metar KBUR: Clear 51 49 90 NE Wind from NE 0 0.00
29.99
falling slowly -1.5 Low  04:04:10
California Foresthill Metar KAUN: Mostly Cloudy 43 41 91 ESE Wind from ESE 0 0.00
30.10
Steady -1.8 Low  04:00:21
California Lodi Metar KSCK: Few Clouds 48 47 94 ESE Wind from ESE 0 0 0.00
30.04
Falling Slowly -1.9 Low  04:05:04
California Mariposa County Overcast 46 42 87 NE Wind from NE 1 0.00
30.05
Steady -1.3 Low  04:00:46
California North Fork Metar KFAT: Mist 40 39 94 NNE Wind from NNE 0 2 0.00
30.08
Steady -2.1 Low  04:01:26
California Oceanside Metar KOKB: Mist 0 0 0 Wind from N 0 0 0.00
29.96
Steady n/a 04:05:04
California Pacifica Partly Cloudy 51 43 73 SW Wind from SW 0 0 0.00
30.37
Steady 1.9 Low  04:04:38
California Paradise Metar KCIC: Mostly Cloudy 44 42 94 SSE Wind from SSE 0 0 0.00
30.04
Falling Slowly -2 Low  04:05:08
California Placerville Overcast 43 39 88 NNE Wind from NNE 0 0 0.00
30.06
Steady -1.5 Low  04:05:02
California Porterville Metar KPTV: Clear 51 49 93 NNW Wind from NNW 0 0 0.00
30.06
Steady -1.7 Low  04:05:07
California Rail Road Flat 40 40 98 NW Wind from NW 0 0.00
30.13
Steady -2.3 Low  03:48:21
California San Diego Metar KMYF: Clear 51 49 94 WSW Wind from WSW 0 0 0.00
30.01
Falling Slowly -1.8 Low  04:05:06
California San Jose Sunny 48 45 89 -- Wind from -- 0 0 0.00
30.09
Falling Slowly -1.5 Low  04:01:25
California San Mateo Metar KSQL: Clear 49 46 91 Wind from W 0 0.00
30.09
Falling Slowly -1.6 Low  04:03:32
California Santa Cruz Metar KWVI: Partly Cloudy 50 46 87 NW Wind from NW 3 5 0.00
30.09
Falling Slowly -1.1 Low  04:05:10
California Santa Rosa Metar KSTS: Few Clouds 46 45 94 WSW Wind from WSW 0 0.00
30.06
Steady -1.9 Low  03:30:18
California Saratoga Clear 47 44 92 WSW Wind from WSW 0 0 0.00
30.09
Falling Slowly -1.8 Low  04:05:01
California Saratoga-2 Metar KSJC: Clear 47 44 91 n/a 0.00
30.10
Steady -1.7 Low  04:00:17
California Scotts Valley Overcast 46 44 94 NW Wind from NW 0 0.00
30.06
Steady -1.9 Low  04:00:30
California Sebastopol Clear 80 62 55 WSW Wind from WSW 1 13 0.00
30.02
Steady 14.8 Low  03:30:32
California Simi Valley Metar KVNY: Clear 48 44 88 SE Wind from SE 0 0.00
29.98
Steady -1.3 Low  04:00:09
California Tahoe Vista Metar KTRK: Partly Cloudy 30 25 81 NNW Wind from NNW 0 0.00
30.02
Steady -1.1 Low  04:05:10
California Tehachapi Metar KSDB: Fog 44 40 84 WNW Wind from WNW 3 0.00
30.04
Falling Slowly -1 Low  04:05:11
California Vacaville Metar KVCB: Clear 50 46 87 SSE Wind from SSE 2 0.00
30.03
Steady -1.1 Low  04:03:55
California Yuba City Metar KMYV: Clear 49 46 89 ENE Wind from ENE 3 5 0.00
30.00
Steady -1.4 Low  04:05:03
Hawaii Makawao, Maui Clear 68 58 72 ESE Wind from ESE 0 0 0.00
30.07
Falling Slowly 3.2 Low  04:05:10
Nevada Minden Metar KRNO: Few Clouds 33 28 82 NW Wind from NW 3 3 0.00
29.94
Steady -1.1 Low  04:05:12
Nevada Ryndon/Devil's Gate Fog 32 32 100 Wind from S 0 0 0.00
29.98
Steady -2.6 Low  04:00:14
Nevada Spanish Springs Metar KRNO: Few Clouds 30 26 88 SSW Wind from SSW 0 0 0.00
30.00
Steady -2 Low  04:00:58
Utah Bountiful Metar KSLC: Mist 37 33 85 Wind from E 0 0.00
29.99
Steady -1.4 Low  04:04:01
Utah Taylorsville Mist 33 32 94 NNW Wind from NNW 0 0 0.00
30.02
Steady -2.3 Low  04:05:14

 

Stations Features

Regional Mesonets

Regional Networks created by Saratoga-Weather.org along with the Global Afilliated Regional Networks hub site at NorthAmericanWeather.net. [About]

My thanks to Wim van der Kuil of Leuven Templates for the idea to use the tabbed presentation to separate the map/conditions/stations displays.

Short history of the [netID]-mesomap.php software

The V0.x version of the mesonet map for the Southwestern network used a map graphic and each station in the network published a bit of HTML with conditions that were rotated by a common JavaScript. The system became unmanagable as more stations entered the network, and the conditions rotated on the map in an unsyncronized manner. Not very satisfying.

The V1.x version used a PHP script to run on each member website (when the page was viewed) that did a quick pull of conditions from each member station, then displayed the result on a dynamically created static map with rotating conditions displayed for each station. As the network grew to above 20 stations, this proved unworkable as the fetch-time for conditions from each station was added to the page-load time and times of 40+ seconds were observed on a good day. So.. back to the drawing board.

The V2.x version used the map/data display of the 1.x version, but a new 'Regional Hub' website was created and a cron job run to collect the data from each station and save it in a text file. The member stations would read that text file (fast) and produce the map/data table quickly now that the fetch-time had been 'offloaded' to the server. The member station would only fall-back to collecting data individually from each site if the 'Regional Hub' site was unavailable, or the data more than one hour old.

The V2.x version also added in multi-language support for displays. A separate language translation mechanism was used so the resulting mesonet map could run in any PHP-based website.

Now V3.x version has some fundamental changes from the prior versions:

  1. The map display is based on Google Maps, JavaScript and the Latitude/Longitude of the member station to place the pin on the map. This is a both good and bad news. The good news is that Regional Networks that adopt the V3.x software do not have to fuss about with manually placing a pin on an image to add or remove a station. The bad news is that without JavaScript, no map will be displayed (the V2.x version would display a map and temperature without JavaScript). But.. the web seems bent on doing mostly everything using JavaScript, so here we go.
  2. The code to fetch data directly from member stations has been removed. The V3.x map relies on having the Regional Hub site for availability. It does cache the configuration and data files every 5 minutes and will display what it last received. If the Regional Hub is unavailable for an extended period, the member maps will show stale data until the Regional Hub is working again.
  3. The regional networks definition file is also downloaded routinely, so as networks come/go/change, the mesonet-map will adapt. If an existing network is removed from the Global nets, then an error message will be displayed instead of the map, and a new network can be picked from the cache/mesonet-map-networks.txt file. We've only had 3 networks drop out in 8+ years.
  4. Yes, I know the code is a bit of a mess.. it has been growing 'organically' for 8 years. I did some refactoring with variable names and separation of functions from merging two sets of code: the [netID]-mesomap.php and the global-map.php code based. I figure I've been fiddling with this over two years in low priority, so it's time to get it done and declare V3.0 released. I hope you enjoy!

Package contents:

mesonet-map-README.txt
Text document with background, package information and install/configuration information
mesonet-map.php
standalone script to display the mesonet map
wxmesonetmap.php
Saratoga template page to display the mesonet map
mesonet-map-settings.php
control file for the default map displays - this is the file you customize (see below)
mesonet-map.css
CSS definitions for map
mesonet-map.js
supporting JavaScripts for map
mesonet-map-inc.php
main code script - included by the mesonet-map.php or wxmesonetmap.php
mesonet-map-common.php
support script - common loading functions
mesonet-map-genhtml-inc
support script - generate HTML for conditions table and member features list
mesonet-map-genjs-inc
support script - generate main JavaScript for Google Map markers+labels
mesonet-map-json.php
convert control and conditions files to JSON format for data display
mesonet-map-check-versions.php
Utility program to check the installed v.s. currently distributed versions for key files. (new with V3.02)
mesonet-map-lang-[LL].txt
language files [LL] is the ISO 639-1 2-character language abbreviations from country domain
MESO-images/*.jpg *.gif *.png
images for display. Same as the global-map script set

The following files are downloaded as needed and cached in the ./cache/ directory:

cache/mesonet-map-networks.txt
regional networks specs downloaded from northamericanweather.net global site
cache/[netID]-stations-cc.txt
regional network station list downloaded from the [netID] regional hub site
cache/[netID]-conditions.txt
regional network conditions downloaded from the [netID] regional hub site

Installation/Configuration

  1. First ensure you have a Google Browser JavaScript Map API key. You will need it to run the map software.
    Get the key from the Google console starting at:

    https://developers.google.com/maps/documentation/javascript/get-api-key

  2. Standalone use (NOT Saratoga template)
    Edit mesonet-map-settings.php and put the Google API key in:

    $googleAPI = '-replace-this-with-your-API-key-here-';

    If you're using wxmesonetmap.php in the Saratoga template, put a line in the site Settings.php in a convenient area (likely near the WeatherUnderground spec) saying

    $SITE['googleAPI'] = '-replace-this-with-your-API-key-here-';

    The most important settings are for the default network (by Network ID) and the default language to use:

    Standalone (in mesonet-map-settings.php):

    $rmNETID = 'SWN'; // default Regional Network ID -- must be one of the defined networks
    $lang = 'en'; // default language

    Saratoga template (in Settings.php):

    $SITE['rmNETID'] = 'SWN';
    $SITE['lang'] = 'en';

    Look in the cache/mesonet-map-networks.txt file. The first entry in each line (without a #) is the [netID] to use for your selected network. See below for a current list of languages supported.

    Example: you want the Benelux network with Dutch as the default language

    Standalone (in mesonet-map-settings.php):

    $rmNETID = 'BNLWN'; // default Regional Network ID -- must be one of the defined networks
    $lang = 'nl'; // default language

    Saratoga template (in Settings.php):

    $SITE['rmNETID'] = 'BNLWN';
    $SITE['lang'] = 'nl';

    Example: you want the Czech Republic network with Czech as the default language

    Standalone (in mesonet-map-settings.php):

    $rmNETID = 'CZWN'; // default Regional Network ID -- must be one of the defined networks
    $lang = 'cs'; // default language

    Saratoga template (in Settings.php):

    $SITE['rmNETID'] = 'CZWN';
    $SITE['lang'] = 'cs';


    Save the mesonet-map-settings.php (Standalone) or Settings.php (Saratoga template) after editing.

  3. Upload the contents to your site, including the cache/ and MESO-images/ directories. If your site already has a MESO-images/ directory from installation of the global-map software, you can safely replace it with the contents of this set.

During normal operation, some files from the Affiliated Regional Weather Networks home site and from the selected Regional Network will be cached locally on your website in the ./cache/ directory (default). These files are:

  • mesonet-map-networks.txt
  • [netID]-stations-cc.txt
  • [netID]-conditions.txt

The files will be stored in the ./cache/ directory (default) and refreshed every 5 minutes as needed from the Global site and the selected Regional Network website. If for some reason, the Global or the selected Regional Network site is unavailable, the cached copies will be used to render the map displays, and will 'catch up' when the offline site becomes available again.

There are other settings available in the mesonet-map-settings.php (and available as corresponding $SITE[...] entries in the Saratoga template's Settings.php) in case you want to change the default map zoom/center, map type, or tweak the initial displayed units for your default rmNETID. When someone uses the Regional Networks TAB to select a different network, then the defaults for that network's map/units will be used. The overrides only apply to the one network you specify in rmNETID.
If you are using the Saratoga template, I recommend you do the $SITE[...] entries in Settings.php instead of changing the mesonet-map-settings.php -- it will allow you to quickly replace scripts as updates occur in the future.

Script Settings

The following mesonet-map-settings.php and corresponding Settings.php equivalents which override the values in mesonet-map-settings.php are available:

$rmNETID or $SITE['rmNETID']; }
default Regional Network ID, initial setting is 'SWN' for Southwestern Network. Look in ./cache/mesonet-map-networks.txt for available networks, or at the Regional Networks TAB on mesonet-map.php/wxmesonetmap.php displayed on your site. The rmNETID is shown in parenthesis after each network's name.
$lang or $SITE['lang']
default language to use, initial setting is 'en' for English.
Script use in wxmesonetmap.php in the Saratoga template will use the current value selected for Language -- you don't have to respecify it here.
$googleAPI or $SITE['googleAPI']
REQUIRED Google Browser JavaScript API KEY to run this script.
$cacheDir or $SITE['cacheFileDir']
relative directory to store the updated conditions/network defs files.
The initial value is './cache/' (same as Saratoga template)
$rmShowFireDanger or $SITE['rmShowFireDanger']
This setting controls the display of the Chandler Burning Index (CBI) on the map, popups and conditions table.
=true; Display the CBI level (Low, Moderate, High, Very High, Extreme) as color-coded text. (Default)
=false; Do not display the CBI level.
Note: the mesonet-map-lang-LL.txt files contain constants for the words to display:
define('RMNET_CBI', 'Fire<br/>Danger');
define('RMNET_CBILEGEND','Fire Danger [Chandler Burning Index]');
define('RMNET_CBI_EXTREME','Extreme');
define('RMNET_CBI_VERYHIGH','Very High');
define('RMNET_CBI_HIGH','High');
define('RMNET_CBI_MODERATE','Moderate');
define('RMNET_CBI_LOW','Low'); 
Make changes to the words in the mesonet-map-lang-LL.txt file (and I'd appreciate it if you would send me translation updates).
$rmMapUseDefaults or $SITE['rmMapUseDefaults']
This switch controls the action of the rmMapType, rmMapZoom and rmMapCenter values:
= true; means the built-in map type, zoom and map center for all networks will be used based on selected network.
= false; means the map type, map zoom and map center lat/long coordinates specified below will be used for the default rmNETID and the built-in type/zoom/center for other networks.
$rmMapType or $SITE['rmMapType']; }
This specifies the Google Map type to display:
= 'TERRAIN'; default setting - display a terrain map.
= 'ROADMAP' - display a road map style
='SATELLITE' - display a Satellite image style map
='HYBRID' - display a mix of satellite and road map
$rmMapZoom or $SITE['rmMapZoom']
This setting controls the initial map display zoom level.
Values range from 1=world to 10=city(max zoom in)
$rmMapCenter or $SITE['rmMapCenter']
This setting is latitude,longitude for initial map center display (in decimal degrees) as a pair of decimal numbers in order of latitude,longitude.
Southern Hemisphere latitudes are negative. Northern Hemisphere are positive (without the +/plus sign).
Western longitudes (West of GMT) are negative. Eastern longitudes are positive (without the +/plus sign) for East of GMT.

$rmMapUseUnits or $SITE['rmMapUseUnits']
This switch controls the initial display of weather data in the selected units on the map. It does not change the units displayed in the table in the second Tab -- that is always displayed in the units selected by the Regional Network itself.
=true; set display map units to use the Regional Network's units
=false; to display the rmNETID map using Temperature, Wind, Barometer, Rain units specified below
$rmTempUOM or $SITE['rmTempUOM']
Specifies unit of measure for Temperature
='C' - Centigrade
='F' - Fahrenheit
$rmWindUOM or $SITE['rmWindUOM']
Specifies unit of measure for Wind Speed
='mph', - Miles/Hour
='km/h' - Kilometers/Hour
='m/s' - Meters/Second
='kts' - Knots
$rmBaroUOM or $SITE['rmBaroUOM']
Specifies unit of measure for Barometric pressure
='inHg' - inches of mercury
='hPa' - hectopascals
='mb' - millibars
$rmRainUOM or $SITE['rmRainUOM']
Specifies unit of measure for Rain
='in' - inches
='mm' - millimeters

Useful tips

Run the page (mesonet-map.php or wxmesonetmap.php) with ?cache=no will cause the cache files to be refreshed.

Run the page (mesonet-map.php or wxmesonetmap.php) with ?debug=yes will show additional debugging information in the view-source of the page.
If you right-click on the map while debug is specified, a pop-up JavaScript alert will display with the current map zoom level, latitude and longitude of the map center. You can use this to customize the presentation of the map for your rmNETID network using the settings above.

With Version 3.02 - 28-Jul-2016 a new utility has been added to help you keep the mesonet-map* script set up-to-date.
Just run mesonet-map-check-versions.php on your website and it will display a report of your current files v.s. the current distribution files so you can easily find/update any files that need updates. See an example here. Run mesonet-map-check-versions.php?force to reload the current distribution file definition file.

For the plugin for the AJAX/PHP multilingual templates (V2 or V3) you may want to add to your language-LL-local.txt files the translations for:

# additional translations for mesonet-map
langlookup|Mesonet Map|Mesonet Map|
langlookup|Regional Mesonets|Regional Mesonets|
langlookup|Home Site|Home Site|
langlookup|Stations in|Stations in|
langlookup|Africa|Africa|
langlookup|Namibia Weather Network|Namibia Weather Network|
langlookup|Namibia|Namibia|
langlookup|Canada|Canada|
langlookup|Canadian Atlantic Weather Network|Canadian Atlantic Weather Network|
langlookup|E-QC,NB,NS,PE,NL|E-QC,NB,NS,PE,NL|
langlookup|Manitoba Weather Network|Manitoba Weather Network|
langlookup|MB|MB|
langlookup|Ontario Weather Network|Ontario Weather Network|
langlookup|ON,W-QC|ON,W-QC|
langlookup|Quebec Weather Network|Quebec Weather Network|
langlookup|E-ON,QC,NB,NS|E-ON,QC,NB,NS|
langlookup|Saskatchewan Weather Network|Saskatchewan Weather Network|
langlookup|SK|SK|
langlookup|Western Canada Weather Network|Western Canada Weather Network|
langlookup|BC,AL|BC,AL|
langlookup|Europe|Europe|
langlookup|Austria Weather Network|Austria Weather Network|
langlookup|Austria|Austria|
langlookup|Benelux Weather Network|Benelux Weather Network|
langlookup|Belgium, Netherlands, Luxembourg|Belgium, Netherlands, Luxembourg|
langlookup|Bosnia and Herzegovina Weather Network|Bosnia and Herzegovina Weather Network|
langlookup|Bosnia and Herzegovina|Bosnia and Herzegovina|
langlookup|Bulgarian Weather Network|Bulgarian Weather Network|
langlookup|Bulgaria|Bulgaria|
langlookup|Czech Republic Weather Weather Network|Czech Republic Weather Weather Network|
langlookup|Czech Republic|Czech Republic|
langlookup|European Weather Network|European Weather Network|
langlookup|French Weather Network|French Weather Network|
langlookup|France|France|
langlookup|Germany Weather Network|Germany Weather Network|
langlookup|Germany|Germany|
langlookup|Hellas Meteo Network|Hellas Meteo Network|
langlookup|Greece|Greece|
langlookup|Hungarian Weather Network|Hungarian Weather Network|
langlookup|Hungary|Hungary|
langlookup|Iberian Peninsula Weather Network|Iberian Peninsula Weather Network|
langlookup|Spain, Portugal, Andorra|Spain, Portugal, Andorra|
langlookup|Italian Weather Network|Italian Weather Network|
langlookup|Italy|Italy|
langlookup|Poland Weather Network|Poland Weather Network|
langlookup|Poland|Poland|
langlookup|Romanian Weather Network|Romanian Weather Network|
langlookup|Romania|Romania|
langlookup|Scottish Weather Network|Scottish Weather Network|
langlookup|Scotland|Scotland|
langlookup|Serbian Weather Network|Serbian Weather Network|
langlookup|Serbia, Kosovo, Macedonia|Serbia, Kosovo, Macedonia|
langlookup|Slovakia Weather Network|Slovakia Weather Network|
langlookup|Slovakia|Slovakia|
langlookup|Slovenia Weather Network|Slovenia Weather Network|
langlookup|Slovenia|Slovenia|
langlookup|United Kingdom Weather Network|United Kingdom Weather Network|
langlookup|England, Wales, Scotland, N.I.|England, Wales, Scotland, N.I.|
langlookup|Pacific|Pacific|
langlookup|Australia Weather Network|Australia Weather Network|
langlookup|ACT, NSW, NT, QLD, SA, TAS, VIC, WA|ACT, NSW, NT, QLD, SA, TAS, VIC, WA|
langlookup|New Zealand Local Weather Network|New Zealand Local Weather Network|
langlookup|North Island, South Island|North Island, South Island|
langlookup|South America|South America|
langlookup|Argentina Weather Network|Argentina Weather Network|
langlookup|Argentina|Argentina|
langlookup|USA|USA|
langlookup|Alaskan Weather Network|Alaskan Weather Network|
langlookup|AK|AK|
langlookup|Mid-Atlantic Weather Network|Mid-Atlantic Weather Network|
langlookup|PA, NJ, WV, VA, DE, MD, DC|PA, NJ, WV, VA, DE, MD, DC|
langlookup|Mid-South Weather Network|Mid-South Weather Network|
langlookup|TX, OK, AR, LA|TX, OK, AR, LA|
langlookup|Midwestern Weather Network|Midwestern Weather Network|
langlookup|MN, WI, MI, IA, IL, IN, OH, MO, KY|MN, WI, MI, IA, IL, IN, OH, MO, KY|
langlookup|Northeastern Weather Network|Northeastern Weather Network|
langlookup|PA, NJ, NY,CT, RI, MA, VT, NH, ME|PA, NJ, NY,CT, RI, MA, VT, NH, ME|
langlookup|Northwest Weather Network|Northwest Weather Network|
langlookup|WA, OR, ID, MT|WA, OR, ID, MT|
langlookup|Plains Weather Network|Plains Weather Network|
langlookup|OK, KS, ND, NE, SD|OK, KS, ND, NE, SD|
langlookup|Rocky Mountain Weather Network|Rocky Mountain Weather Network|
langlookup|WY, CO, NM|WY, CO, NM|
langlookup|Southeastern Weather Network|Southeastern Weather Network|
langlookup|TN, NC, SC, MS, AL, GA, FL|TN, NC, SC, MS, AL, GA, FL|
langlookup|Southwestern Weather Network|Southwestern Weather Network|
langlookup|AZ, CA, HI, NV, UT|AZ, CA, HI, NV, UT|
# end of mesonet-map translations

Which will allow for the translation of some headings to language LL. Be sure to use the correct character set for your page to match the other translation files used by the Multilingual templates. The main translation for various languages is provided in the mesonet-map-lang-LL.txt files.

The mesonet-map scripts support the following languages:

   
  'ba' => 'Bosnian' (Note: Google Map itself does not offer Bosnian language)
  'bg' => 'Bulgarian'
  'ct' => 'Catalan'
  'cs' => 'Czech'
  'dk' => 'Danish'
  'nl' => 'Dutch'
  'en' => 'English'
  'fi' => 'Finnish'
  'fr' => 'French'
  'de' => 'German'
  'el' => 'Greek'
  'hu' => 'Hungarian'
  'it' => 'Italian'
  'no' => 'Norwegian'
  'pl' => 'Polish'
  'pt' => 'Portugese'
  'ro' => 'Romanian'
  'sr' => 'Serbian'
  'es' => 'Spanish'
  'se' => 'Swedish'
  'si' => 'Slovenian'
  'sk' => 'Slovak'

Downloads

Download Updated
Regional Mesonet Map .ZIP
(PHP standalone + V2 or V3 templates)
21 Feb 2017 11:01am PST (21 Feb 2017 19:01 GMT)

Version history

  • Version 3.06 - 14-Jan-2016 - corrected scripts for https:// station URL links
  • Version 3.05 - 29-Nov-2016 - fixed mesonet-map-common.php V3.04 for intermittent -18C dewpt JSON under some conditions
  • Version 3.04 - 07-Aug-2016 - fixed mesonet-map.js V3.04 for window.onload interference problem in sorttable script
  • Version 3.03 - 31-Jul-2016 - added Chandler Burning Index (CBI) display to map rotating legends, popups and table (sortable) with new option to enable/disable $rmShowFireDanger/$SITE['rmShowFireDanger']
  • Version 3.02 - 28-Jul-2016 - added mesonet-map-check-versions.php V3.02 to the distribution, and corrected version descriptions in several files.
  • Version 3.01 - 26-Jul-2016 - fixed mesonet-map-settings.php, mesonet-map-inc.php V3.01 to better allow override for map zoom,center for specified network, then use defaults for other networks
  • Version 3.00 - 24-Jul-2016 - Initial Release

 

deformed-offering