Data products and weather web page publishing informationSpecifications updated
There are two ways to use MyWeather data products.
1. Use MyWeather weather web page publishing services. Using this option you may choose from a number of templates. Since MyWeather hosts the page, this option is very easy to implement. You are limited to the templates provided. Examples of templates are here.
2. Use data products to self-publish weather pages on your sites. This option requires the user to write XML out to a web page, usually accomplished by a set of light programming routines, and affords near-complete flexibility in layout, design, and data selection.
FTP and HTTP are the methods for retrieving data. Client pull from our FTP server is preferred.
The following links illustrate use of HTTP requests to get single location data for Madison, WI. There are a total of three datasets that can be queried. Current conditions and forecasts are selected by reporting location code. These URLs use mywx123456 as the siteID for illustration. You would substitute your siteID code when you use these URLs.
Note: Zone forecasts are selected by the UGC code appropriate for the desired location.
Current conditions and five day forecast data weather condition codes are used to select an appropriate icon for display. We have posted three sets of icons to use, or you may create your own. Each is contained in a separate folder on our FTP site.
The following URLs are supported. Please note: we will continue to expand our offerings to provide access to other weather data not shown below. Your weather pages use your siteID code. For example: If your siteID is abcd123456 your main weather page URL will be http://wp.myweather.net/wp/?pub= abcd123456
Then you append a query string to select other pages and content.
| Query |
Content |
| [no query info] |
Main forecast page for the reporting station associated with your site |
| &page=main&loc=[locationID] |
Full forecast page for the reporting station named with locationID |
| &page=city&loc=[locationID] |
Abbreviated forecast for the reporting station named with locationID |
| &page=city&loc=[locationID]&context=region |
Conditions and links for all reporting stations close to the station named with locationID |
| &page=search&loc=[postalCode]&context=state |
Conditions and links for all reporting stations in state named by the desired 2-character postalCode |
| &page=map&map=neast_sat |
Display named map |
<icon-select>1</icon-select>
| Value |
Condition |
File Name |
| 1 |
Clear |
clear.gif |
| 2 |
Fair/haze |
fairhaze.gif |
| 3 |
Partly cloudy |
partlycloudy.gif |
| 4 |
Fog |
fog.gif |
| 5 |
Drizzle |
drizzle.gif |
| 6 |
Cloudy |
cloudy.gif |
| 7 |
Windy |
windy.gif |
| 8 |
Flurries |
flurries.gif |
| 9 |
P/C showers |
pcshowers.gif |
| 10 |
Rain |
rain.gif |
| 11 |
T-storms |
tstorm.gif |
| 12 |
P/C T-storms |
pctstorm.gif |
| 13 |
Rain/snow mix |
rainsnowmix.gif |
| 14 |
Freezing rain |
freezingrain.gif |
| 15 |
Snow showers |
snowshowers.gif |
| 16 |
Snow |
snow.gif |
< Back to eWeather
< Back to Catalog
|