-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Rework Rain scale bar and colors in the Maps tab #123
Comments
Hi @adem4ik. Yes, that will be much more visible for the rain map. I'll change it for the next release. I was also thinking on modifying also the temperature map scale because here in Spain we're going to be 40+ ºC next week and the maximum in the map is 36. So all the map will be in red... I'm thinking in making the scale bars dynamic depending on the current weather conditions for better "reading" the maps. I'll tinker with it for a bit to see if it works. Regards, |
Hello @adem4ik . I've been playing a little bit with this and it's perfectly possible to do it, but only in the "advanced weather maps" of OpenWeatherMap. Those "Maps 2.0", as they call it, allows the developer to specify a range for map values and associate a color to each. It looks good indeed but it requires the developer subscription to OpenWeatherMaps (160€ a month), and that's something I can't afford right now for a free project. For now I'll use the free maps. I'll leave the issue open so it remains visible, as this seems to be a frequently asked thing. Regards, |
You could reach out to OpenWeatherMaps to see if they have any discounting/benefits for open source projects. Alternatively potential costs could be deferred to users that specifically want the advanced functionality (using their own API keys or something) - although that seems like unnecessary feature creep :) |
@alystair Yes, I suppose the application could try first to use the 2.0 maps and if it gets a "unauthorized" message from the server go back to use the old 1.0 maps. Regards, |
Just out of curiosity, while I understand the need to maybe adjust the scale a bit for the unusually high temps the world saw this year, does the Map 1.0 not already include color gradients and scales? Was your reason for changing the colors from default for a specific reason? Being in the USA, I only know of the different sites and apps I've used for weather here, but it seems that, at least here, scaling for precipitation always starts from the lightest of greens and progresses through green, then yellow, then orange, then red for the hardest of rain(and using hues based on blue for frozen precipitation). I've always wondered why TW had set colors and not gradients, and used different colors than what I normally see everywhere else. |
The reason was that the lightgray colors where barely visible in the precipitation and cloud maps, so a gradient like the one proposed by @adem4ik (using greens instead of gray for lower values of rain) is much more visible. |
Makes sense. Thanks for the response and explanation. |
Version: 1.23.0
Result: Rain is barely visible on the map, especially 0-6 mm. The problem comes from the gray colors on the gray/white background.
Proposed result: Use similar scale bar and colors as on https://openweathermap.org/weathermap?basemap=map&cities=false&layer=radar&lat=30&lon=-20&zoom=5
Current scale bar:
0.1 2 6 8 10 14 16 20 26 32 42 48 52 70+
Proposed scale bar:
0.1 0.5 1 2 4 6 8 10 12 14 16 24 32 60+
The text was updated successfully, but these errors were encountered: