天气引擎现在在 KDE trunk 中了!WeatherEngine now in KDE Trunk!

各种窗口管理器和美化相关
回复
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

天气引擎现在在 KDE trunk 中了!WeatherEngine now in KDE Trunk!

#1

帖子 nihui » 2007-09-11 20:00

我们昨天开了一次 Plasma 会议。其中一件事是天气引擎部分移到 KDE trunk 中。这现在已经完成了。
We had a Plasma meeting yesterday. One of the things discussed was to move the weather engine bits into KDE trunk. This is now done.

Richard Moore 正在计划审视一个在 UKMET BBC 数据来源的 bug。一旦修复了那个问题。我计划完成 ion (离子?)。我将添加数据引擎是如何工作的、数据格式应该是怎样的信息至 Techbase Wiki,这样子就能让每个 ion (离子?)都可以让任何有自己天气小程序的人使用。
Richard Moore is planning on taking a look at a bug in the UKMET BBC datasource. Once that issue is fixed. I plan on finishing the ion. I will be adding to the Techbase Wiki information on how the dataengine works, how the data formatting should be done so that each ion can be used by anyone's own weather applets.

Richard 正忙于在 Plasma 的 JavaScript 支持绑定上破解。我将会使用这些绑定来写一些小程序。在本周你或许可以看到一张显示当前天气状态小程序的截图。
Richard has been busy hacking away on the Plasma JavaScript support bindings. I will be using these bindings to write the applet. It is possible this weekend you might get to see a screenshot of the weather applet displaying current conditions.

我打算用以下的这些依赖数据来源(ion)的 'screens' 显示
I plan to have the following 'screens' depending on the datasource (ion)

- 当前状态 (Screen #1)
- Current conditions (Screen #1)
* Place information 位置信息
* SVG (or PNG?) icon showing the current reported condition 显示当前预报状况的 SVG (或者 PNG?) 图标
* Temperature in your favourate metric (metric, imperial) 以你最喜欢的制量显示温度 (公制,英制)
* Comfort Temperature: (Humidex/Heat Index, Windchill) 舒适度: (Humidex/Heat Index, Windchill)
* Dewpoint Temperature 露点温度
* Pressure (in inches or kilopascals) 气压 (以 英寸 或 千帕)
* Pressure tendency (if available) 压强趋势 (如果可用)
* Visibility (in kilometers or miles) 能见度 (以 千米 或 英里)
* Humidity 湿度
* Wind Speed (in kilometers or miles per hour) 风速 (以 千米 或 英里 每小时)
* Wind Direction 风向
* Wind Gust 阵风

这会包括可用的最细微的当前观测。
This will contain the minimal current observations where available.

- 五日预报 (Screen #2,如果可用)
* 位置信息
* 包含所期望的那段时期的天气状况的 SVG (或 PNG) 图像

- 5 Day forecast (Screen #2, if available)
* Place information
* SVG (or PNG) image containing the expected weather condition for that period
* PNG/JPG/GIF image of the respective Weather agency (Credit requirements)
(top left side of applet)
* Short expected weather summary: Period, Condition expected, High Temp or Low Temp followed by
POP (Probability of Precipitation).
-I believe if the user clicks on a specific period we can make it display extended weather
forecast information (wind speed, etc) via some sort of visualization popup.
- For future, I will be also providing a rough gestimate of potential severe weather
(where available) such as CAPE (Convective Available Potential Energy), SI (Storm Index).
This is likely for 2.0 of the applet.

- Almanac Information/Seasonal Normals/Records (Screen #3, if available)
年历信息/周期性的信息/记录
- Rises/Sets (if available)
* Sunrise/Set 日出/日落
* Moonrise/Set 月出/月落
- Normal temperatures for time of year (if available)
* High temperature (in metric or imperial) 最高温度
* Low temperature 最低温度
* Mean temperature 平均温度
- Record weather (if available)
* Record High temperature 有记录的最高温度
* Record Low temperature 有记录的最低温度
* Record Rainfall 有记录的降水
* Record Snowfall 有记录的降雪

- Miscellaneous Information (Screen #4, if available)
多方面的信息
* UV Index
* UV scale (high, low, extreme, etc)

这是很大一笔天气数据。主意就是让天气小程序能以一个规定的时间间隔通过这些“屏幕”自动更新循环。溶解或以其他效果在两张屏幕间过渡。
This is a lot of weather data. The idea is to have the weather applet cycle though these 'screens' on a timed interval, fading in or some other effects to transition between screens.

除此之外,还有一些提供警告/看护信息的 ion(数据来源)。这会以一些 blingy 的方式显示。
In addition to this, some ions provide warning/watch information. This will be displayed in some sort of blingy manner Smiling

对于这些小程序的配置,用户可以设定获取更新信息的时间间隔(以 30 分钟间隔)。
For configuring the applet, the user will be able to set time intervals for fetching updated information (on 30 minute intervals).

后面还有更多配置。
More on the configuration later.

http://shuizhuyuanluo.blog.163.com/blog ... 1175635396
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
回复