New b225: Use <amount> tag to provide rain/snow intensity
Posted: Fri Jan 08, 2010 4:03 pm
I have added a new tag to YoWindow XML format - sky/precipitation/<amount>.
This is an alternative way to provide the intensity of rain or snow.
The change was suggested by Nico in this topic.
http://yowindow.com/forum/viewtopic.php?f=11&t=365
amount is a child of precipitation tag
<amount>
@value - the amount of rain or snow per hour (mm/hour)
Most weather stations have a parameter called rainintensity (rainrate).
Use it instead as the value for <amount>.
If you provide amount you don't have to provide precipitation/@intensity.
Example
<sky>
<precipitation>
<amount value="18"/>
</precipitation>
</sky>
Also, guys, I need your advice.
In YoWindow we have a rain/snow icon for each kind of intensity.
The number of rain-drops or snow-flakes reflects the intensity.
I have doubts about how to translate precipitation amount to intensity.
This is my first try.
precipitation amount (mm/hour) / intensity
(0, 5] - light (*)
(5 - 10] - regular (**)
> 10 - heavy (***)
Do you think this is a plausable conversion?
This is an alternative way to provide the intensity of rain or snow.
The change was suggested by Nico in this topic.
http://yowindow.com/forum/viewtopic.php?f=11&t=365
amount is a child of precipitation tag
<amount>
@value - the amount of rain or snow per hour (mm/hour)
Most weather stations have a parameter called rainintensity (rainrate).
Use it instead as the value for <amount>.
If you provide amount you don't have to provide precipitation/@intensity.
Example
<sky>
<precipitation>
<amount value="18"/>
</precipitation>
</sky>
Also, guys, I need your advice.
In YoWindow we have a rain/snow icon for each kind of intensity.
The number of rain-drops or snow-flakes reflects the intensity.
I have doubts about how to translate precipitation amount to intensity.
This is my first try.
precipitation amount (mm/hour) / intensity
(0, 5] - light (*)
(5 - 10] - regular (**)
> 10 - heavy (***)
Do you think this is a plausable conversion?