WangDaYeeeeee / GeometricWeather

A Material Design Weather Application
GNU Lesser General Public License v3.0
2.44k stars 186 forks source link

Add bft scale #397

Closed efb4f5ff-1298-471a-8973-3d47447115dc closed 1 year ago

efb4f5ff-1298-471a-8973-3d47447115dc commented 2 years ago

https://en.wikipedia.org/wiki/Beaufort_scale

Should be displayed as

0 bft - calm 1 bft - Light air 2 bft - light breeze ...

papjul commented 2 years ago

Geometric Weather already uses the BFT scale: https://github.com/WangDaYeeeeee/GeometricWeather/blob/master/app/src/main/java/wangdaye/com/geometricweather/common/basic/models/weather/Wind.java#L28-L39

And here is the translation file: https://github.com/WangDaYeeeeee/GeometricWeather/blob/master/app/src/main/res/values/strings.xml#L79-L91

Let us know of any mistake!

efb4f5ff-1298-471a-8973-3d47447115dc commented 2 years ago

It only says gentle breeze and doesnt display 1,2,3,4...11

It is not possible to configure this in the settings

I want to select bft in the settings and the graphs and the stats to say 1 or 2...11

Screenshot_20220811-090623.pngScreenshot_20220811-090553.pngScreenshot_20220811-090520.pngScreenshot_20220811-090411.png

papjul commented 2 years ago

You're showing the unit settings. BFT is a scale not an unit, there can't be conversion between them.

While you can "deduce" a BFT from a km/h, you can't do the opposite (convert a BFT into km/h).

efb4f5ff-1298-471a-8973-3d47447115dc commented 2 years ago

Ok i understand but it would be nice somehow to only show thw bft in the graphs and stats

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

@papjul i dont want do come over as an annoying user that keeps asking about their issue (believe me i know how that feels like) but is there a possibility this could make its way into Breezy Weather?