! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Feature request: pressure in mm Hg
Status:
RESOLVED: LATER
Product:
Xfce4-weather-plugin
Component:
General

Comments

Description From-ru 2011-02-14 20:04:44 CET
Please add option to show atmosphere pressure in (mm Hg) - generally used unit of the russian forecasts.
Comment 1 Harald Judt 2012-08-09 12:08:53 CEST
Do Russian forecasts use other units for some values too, or is this limited to atmosphere pressure? Does it apply only to some regions or to the whole country?
Comment 2 From-ru 2012-08-10 09:27:47 CEST
(In reply to comment #1)
> Do Russian forecasts use other units for some values too, or is this limited
> to atmosphere pressure? Does it apply only to some regions or to the whole
> country?

1. Atmosphere pressure in mmHg
2. Wind speed in meter per second (m/s)

Whole country.
Comment 3 Harald Judt 2012-08-16 12:32:37 CEST
I can imagine to implement this by providing an option to customize the unit system and will put it on the TODO list. However, it will not happen soon.

Presuming you have some programming knowledge and can build your own package, it would be easy to adapt get_data and get_unit in weather-data.c to achieve what you desire. You'd only need to find the formula for hPa->mm Hg and undo the m/s -> km/h conversion (wind speed is already returned in m/s by the data provider, but generally km/h is used by most weather websites).
Comment 4 From-ru 2012-08-16 13:07:03 CEST
Thanks for your attention.

Bug #7287

Reported by:
From-ru
Reported on: 2011-02-14
Last modified on: 2012-08-16

People

Assignee:
Harald Judt
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information