New: provide clouds from METAR station in the night
Posted: Thu Feb 25, 2010 9:10 pm
We have a new feature in YoWindow XML format asked by Holli and Andreas here.
http://yowindow.com/forum/viewtopic.php ... 517&p=1717
There is a problem - most PWSs cannot read cloud coverage in the night.
A nice solution is to read cloud coverage from the closest METAR station when it's dark.
So you have reliable cloud coverage detection in the day and pretty decent in the night.
In order to control this behavior a new 'include' attribute of clouds tag introduced.
If you want YoWindow to read cloud coverage from PWS in the daylight and from METAR in the night,
add include attribute with "daylight" value to the clouds tag.
Example:
<clouds value="fair" include="daylight">
</clouds>
By "daylight" I mean the time of the day when the sun is over horizon.
Holli, Andreas, do you agree with my definition of the daylight?
Does Ws-win detects dunkel in the same way?
Jim and Rainer, 'include' attribute is also supported in <icon> node of Weather Display format.
The meaning is the same, if 'include' is set to 'daylight', the sky conditions and description are read from METAR station.
So you may use it now in template and PHP script.
The feature is available in RC build so far.
Comments, suggestions, critics are welcome!
http://yowindow.com/forum/viewtopic.php ... 517&p=1717
There is a problem - most PWSs cannot read cloud coverage in the night.
A nice solution is to read cloud coverage from the closest METAR station when it's dark.
So you have reliable cloud coverage detection in the day and pretty decent in the night.
In order to control this behavior a new 'include' attribute of clouds tag introduced.
If you want YoWindow to read cloud coverage from PWS in the daylight and from METAR in the night,
add include attribute with "daylight" value to the clouds tag.
Example:
<clouds value="fair" include="daylight">
</clouds>
By "daylight" I mean the time of the day when the sun is over horizon.
Holli, Andreas, do you agree with my definition of the daylight?
Does Ws-win detects dunkel in the same way?
Jim and Rainer, 'include' attribute is also supported in <icon> node of Weather Display format.
The meaning is the same, if 'include' is set to 'daylight', the sky conditions and description are read from METAR station.
So you may use it now in template and PHP script.
The feature is available in RC build so far.
Comments, suggestions, critics are welcome!