Suggestion: Add dew point and/or relative humidity #78

Closed
opened 3 months ago by gim · 6 comments
gim commented 3 months ago

It would be really nice to display the dew point and/or the relative humidity.

It would be really nice to display the dew point and/or the relative humidity.

Adding a bit of technical background/context:

  • dew point (2m above surface) (German: Taupunkt) is specified as the mosmix element 'Td' in Kelvin -> see MetElementDefinition.xml for the live specification at DWD
    • -> see here to get the specification as a Excel document
  • I could not (yet) identify data source(s) including values of relative humidity at the open data server of DWD -> if you or someone else reading this has a reliable open source or knows where to find it please post below

From my personal point of view as a daily user a major challenge to include more data points into the main view of the app is the lack of space when displaying all available data. Since Version 0.55.2 users may select (to a certain extend) the data to be displayed. Also see here for further details. I suggest adding the dew point as a new selectable option to this list.

The project's maintainer (-> @Starfish) might have further insights regarding the feasibility and possible further challenges.

Adding a bit of technical background/context: * **dew point** (2m above surface) *(German: Taupunkt)* is specified as the [mosmix](https://opendata.dwd.de/weather/local_forecasts/mos/) element **'Td'** in Kelvin -> see [MetElementDefinition.xml](https://opendata.dwd.de/weather/lib/MetElementDefinition.xml) for the live specification at DWD * -> see [here](https://www.dwd.de/DE/leistungen/opendata/help/schluessel_datenformate/kml/mosmix_elemente_xls.xlsx?__blob=publicationFile&v=5) to get the specification as a Excel document * I could **not** (yet) identify data source(s) including values of **relative humidity** at the open data server of DWD -> if you or someone else reading this has a reliable open source or knows where to find it please post below From my personal point of view as a daily user a major challenge to include more data points into the main view of the app is the lack of space when displaying all available data. Since Version 0.55.2 users may select (to a certain extend) the data to be displayed. Also see [here](https://codeberg.org/Starfish/TinyWeatherForecastGermany/issues/17#issuecomment-184714) for further details. I suggest adding the dew point as a new selectable option to this list. The project's maintainer (-> @Starfish) might have further insights regarding the feasibility and possible further challenges.
Owner

Meanwhile, I also get feedback that there is too much information visible. My personal next goals are:

  1. support theming (e.g. light theme, support device theme, etc.)
  2. let the user choose between a simple and a complex view.

I will also try out the following: main view will get simpler, but long pressing a time interval will pop up a view with all the details like dew point, surface temperature, visibility etc.

AFAIK humidity is simply not provided in the open data of the Deutscher Wetterdienst. If somebody knows more, please let me know :-)

Meanwhile, I also get feedback that there is too much information visible. My personal next goals are: 1) support theming (e.g. light theme, support device theme, etc.) 2) let the user choose between a simple and a complex view. I will also try out the following: main view will get simpler, but long pressing a time interval will pop up a view with all the details like dew point, surface temperature, visibility etc. AFAIK humidity is simply not provided in the open data of the Deutscher Wetterdienst. If somebody knows more, please let me know :-)
  1. support theming (e.g. light theme, support device theme, etc.)

great idea this source seems promising regarding the implementation of dark/light mode and switching between the two of them

  1. let the user choose between a simple and a complex view.

sounds good to me that should ease the access while keeping the option to get the full dataset

I will also try out the following: main view will get simpler, but long pressing a time interval will pop up a view with all the details like dew point, surface temperature, visibility etc.

perfect I thought about suggesting this recently

> 1) support theming (e.g. light theme, support device theme, etc.) great idea [this](https://proandroiddev.com/implementing-dark-theme-in-your-android-application-ec2b4fefb6e3) source seems promising regarding the implementation of dark/light mode and switching between the two of them > 2) let the user choose between a simple and a complex view. sounds good to me that should ease the access while keeping the option to get the full dataset > I will also try out the following: main view will get simpler, but long pressing a time interval will pop up a view with all the details like dew point, surface temperature, visibility etc. perfect I thought about suggesting this recently
  1. support theming (e.g. light theme, support device theme, etc.)

@Starfish -> I suggest adding the styling of the navigation bar when working on the app's styles.xml as the following one-liner

<item name="android:navigationBarColor">@color/colorPrimaryDark_DarkTheme</item>

based on this source. Styling of the actionBar (->docs) is already present. But the lack of the navigationBar results in a white navigation bar (at least on my test device).

Please also see the attached screenshot.
The effort needed to resolve this seems rather low to me. But as always I can't really estimate it because of my limited knowledge of android java dev.

Here's an overview image for better understanding:

overview of androids 'main' UI elements

courtesy of stackoverflow users user3065901 & Mikev.

> 1) support theming (e.g. light theme, support device theme, etc.) @Starfish -> I suggest adding the styling of the **navigation bar** when working on the app's [`styles.xml`](https://codeberg.org/Starfish/TinyWeatherForecastGermany/src/branch/master/app/src/main/res/values/styles.xml) as the following one-liner ```java <item name="android:navigationBarColor">@color/colorPrimaryDark_DarkTheme</item> ``` based on [this](https://stackoverflow.com/a/27839184) source. Styling of the [*actionBar*](https://codeberg.org/Starfish/TinyWeatherForecastGermany/src/branch/master/app/src/main/res/values/styles.xml#L41) ([->docs](https://developer.android.com/reference/android/app/ActionBar)) is already present. But the lack of the *navigationBar* results in a **white** navigation bar (at least on my test device). Please also see the attached screenshot. The effort needed to resolve this seems rather low to me. But as always I can't really estimate it because of my limited knowledge of android java dev. Here's an overview image for better understanding: ![overview of androids 'main' UI elements](https://i.stack.imgur.com/B8ph4.png) courtesy of stackoverflow users *user3065901* & *Mikev*.

@gim

concerning the relative humidity -> please see this commit for news

stay tuned!


Btw make sure to check out the weblate project for translations of this app.

@gim concerning the **relative humidity** -> please see [this commit](https://codeberg.org/Starfish/TinyWeatherForecastGermany/commit/13643e17bd9c982dffca8405a91ef2e82797a399) for news stay tuned! ---------- Btw make sure to check out the [weblate project](https://weblate.bubu1.eu/projects/tiny-weather-forecast-germany/) for **translations** of this app.
Owner

For colors, please see the latest comments on #85 .

Likely, this has been fixed with the new theme support. You can test with the latest userdebug release or wait for the version after 0.56.4 .

I will close this issue, because relative humidity is already included in version 0.56.4 .

For colors, please see the latest comments on [#85](https://codeberg.org/Starfish/TinyWeatherForecastGermany/issues/85) . Likely, this has been fixed with the new theme support. You can test with the latest *userdebug* release or wait for the version __after__ 0.56.4 . I will close this issue, because *relative humidity* is already included in version 0.56.4 .
Starfish closed this issue 1 month ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.