Provide sky conditions with <icon> tag

Personnal Weather Station (PWS) support
Post Reply
User avatar
par
Posts: 8627
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Provide sky conditions with <icon> tag

Post by par »

This format change should work for Weather Display stations only.
However, I want to support this tag for all major Weather Stations.

Please post your Weather Station maps from icon-id to sky-conditions in reply to this topic.
In the first reply have added Weather Display map.
I hope the format of the map is self-explanatory.
Please try to use the same format while providing the map for your Weather Station.

Code: Select all

<icon> tag.
You may provide weather icon id to indicate sky conditions.
<icon> is a child of <sky> tag
<icon>
    @id - icon id
    @format = "wd" - let YoWindow know the icon id is from Weather Display station
YoWindow will pick sky parameters represented by the icon.
Example:
<sky>
    <icon id="21" format="wd"/>
</sky>
Get YoWindow weather app for your phone or tablet.

Image Image Image
User avatar
par
Posts: 8627
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Provide sky conditions with <icon> tag

Post by par »

Please try to use the same format while providing icon weather maps for your Weather Station.

Code: Select all

m[0] = {
	clouds: 'clear'				
};
m[1] = {
	clouds: 'clear'
};
m[2] = {
	clouds: 'fair'
};
m[3] = {
	clouds: 'fair'
};
m[4] = {
	clouds: 'fair'
};
m[5] = {
	clouds: 'clear'
};
m[6] = {
	clouds: 'overcast',
	mist: 'fog'
};
m[7] = {
	clouds: 'mostlyCloudy',
	mist: 'haze'
};
m[8] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'heavy'
};
m[9] = {
	clouds: 'clear'
};
m[10] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'light',
	mist: 'fog'
};
m[11] = {
	clouds: 'overcast',
	mist: 'fog'
};
m[12] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'heavy'
};
m[13] = {
	clouds: 'overcast'
};
m[14] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'regular'
};
m[15] = {
	clouds: 'mostlyCloudy',
	pmode: 'rain',
	pintensity: 'light'
};
m[16] = {
	clouds: 'overcast',
	pmode: 'snow',
	pintensity: 'regular'
};
m[17] = {
	clouds: 'overcast',
	pintensity: 'heavy',
	thunder: true
};
m[18] = {
	clouds: 'overcast'
};
m[19] = {
	clouds: 'partlyCloudy'
};
m[20] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'regular'
};
m[21] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'heavy'
};
m[22] = {
	clouds: 'mostlyCloudy',
	pmode: 'rain',
	pintensity: 'light'
};
m[23] = {
	clouds: 'overcast',
	pmode: 'snow',
	pintensity: 'heavy'
};
m[24] = {
	clouds: 'overcast',
	pmode: 'snow',
	pintensity: 'regular'
};
m[25] = {
	clouds: 'overcast',
	pmode: 'snow',
	pintensity: 'regular'
};
m[26] = {
	clouds: 'partlyCloudy',
	pmode: 'snow'
};
m[27] = {
	clouds: 'mostlyCloudy',
	pmode: 'snow',
	pintensity: 'light'
};
m[28] = {
	clouds: 'clear'
};
m[29] = {
	clouds: 'overcast',
	pintensity: 'regular',
	thunder: true
};
m[30] = {
	clouds: 'overcast',
	pintensity: 'regular',
	thunder: true
};
m[31] = {
	clouds: 'overcast',
	pintensity: 'heavy',
	thunder: true
};
m[32] = {
	clouds: 'overcast'
};
m[33] = {
	clouds: 'partlyCloudy'
};			
m[34] = {
	clouds: 'mostlyCloudy'
};
m[35] = {
	clouds: 'overcast',
	pmode: 'rain',
	pintensity: 'heavy'
};
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply