Template talk:Weather box/Archive 5

Edit request on 31 May 2013
There is an error in the conversion of precipitation from inches to metric. See an example on the Olonkinbyen article. The row label says that the units are in cm, but the converted values are for mm. It appears related to the precision - if you edit to add a single decimal point to the January input measurement (i.e., change it from 3 to 3.0) then the row label correctly changes to mm.

68.100.166.181 (talk) 19:15, 31 May 2013 (UTC)
 * should be fixed with [//en.wikipedia.org/w/index.php?title=Template:Weather_box&diff=prev&oldid=557732663 this edit], we weren't telling the module which units to use for the conversion, even though we were changing the label based on the precision. Frietjes (talk) 20:39, 31 May 2013 (UTC)

Layout
Hi, when multiple weather boxes are stacked up it tends to look messy because the columns do not line up, being different widths in different boxes. An example would be at South Georgia and the South Sandwich Islands. I wonder if it would be possible to have the columns at a fixed width (or fixed proportion of total table width), so that everything would line up neatly? 86.128.1.46 (talk) 13:42, 5 June 2013 (UTC)
 * I could see this as an option, but trying to get a value that would work for all browsers and all browser widths seems problematic. you can set the overall width of the box using width, which could possible achieve what you want in some browsers, but the overall result will always be browser dependent since the distribution of the values for the various column widths is not defined by any standards.  another option would be to make it possible to embed the two boxes into a larger table, without the leading and trailing table tags.  this would force the columns to be part of the same table.  however, it seems like overkill for so such a limited number of cases. Frietjes (talk) 17:17, 5 June 2013 (UTC)

Wikilink
Please add wikilink of (new) article of Sunshine duration to Template:Weather box (Mean monthly sunshine hours, Mean daily sunshine hours, Percent possible sunshine), similarly as Humidex, Wind chill, Precipitation, humidity. Subtropical-man (talk) 16:13, 21 June 2013 (UTC)
 * Done. Thanks. CambridgeBayWeather (talk) 20:38, 21 June 2013 (UTC)

Standard colors
What exactly causes the standard colors? I mean, where is this information encoded? AS far as I can see, there are no lines in the template syntax that say "if temperature is within class x, the background color = y". (I'd prefer to know how it works, at least to create a similar template on my 'home' Wikipedia.) Steinbach (talk) 09:13, 4 September 2013 (UTC)
 * see Module:WeatherBoxColors. Frietjes (talk) 15:40, 4 September 2013 (UTC)
 * Thanks a lot, I didn't even know about the Module namespace! Steinbach (talk) 19:16, 4 September 2013 (UTC)
 * if you see '#invoke' in a template, that means it is invoking a module which uses WP:LUA. Frietjes (talk) 19:56, 4 September 2013 (UTC)

Link to explanation of color codes?
Sorry if this is the wrong place. I'm a user not a contributor. I want to suggest embedding the explanation of the color codes (or a link to that) within the Weatherbox. — Preceding unsigned comment added by 96.242.119.84 (talk) 20:14, 20 September 2013 (UTC)
 * Why? Color isn't required to understand the information, just look at what the data has to say. 117Avenue (talk) 05:56, 22 September 2013 (UTC)

Colour differences
The temperature colours at London and Equator are different. Shouldn't the same colour coding be used everywhere? 86.160.222.219 (talk) 02:26, 1 December 2013 (UTC)
 * Yes, but we can't decide on which one, see the lengthy discussions above. 117Avenue (talk) 05:07, 1 December 2013 (UTC)
 * OK, thanks, I wasn't aware of that discussion. My vote is for the London-style scheme. 86.160.220.127 (talk) 12:33, 1 December 2013 (UTC)
 * I would agree since the pastel colours look bad at lower temperatures and only go down to -30 C before they all look the same, which is not practical for a majority of the climates that are not tropical. I prefer the standard temperature colours over the pastel colours. Ssbbplayer (talk) 16:00, 1 December 2013 (UTC)

Ultra violet radiation suggestion and green tints

 * Ultraviolet radiation: I have a suggestion to add a line for ultra-violet averages, giving them tints of violet, fuchsia , purple or a mixture of the three. The line would be added below the sunshine line(s) in the chart.


 * I have rarely seen any city articles that mention the exact numbers of UV radiation values. Even so, most just only describe it and I have not seen any national meteorological organization that records UV-radiation values, mostly I see weather forecasts that show it. I think the best would to explain it. Ssbbplayer (talk) 03:04, 5 December 2013 (UTC)


 * Green tints: If we chose to use the green tints for precipitation days, rainy days and humidity, they appear fainted and with very small difference in grades, contrary to the blue tints. That has to be fixed.


 * Pastel tint for humidity: If we chose to use the pastel tints for humidity, the different values get a plain red background color! That makes the current alternative pastel tints for humidity unusable.


 * I would make sense that they would not work. The pastel tints were made for temperatures so any values above 59 would look red. It really cannot tell between temperatures and humidity so if you enter like 38 in humidity or temperature, it will be orange, regardless of where you enter it. If pastel tints were to become usable, a separate page that has pastel colours suited to humidity (similar to how blue colours are adjusted for humidity) so they're not based on rainfall values. The same would apply with green precip days and green humidity values where the colours need to be adjusted for these values so they don't look the same. Ssbbplayer (talk) 03:04, 5 December 2013 (UTC)

I wish that the template would have no color issues so that we would use it without testing which colors would fit the most.


 * Brown tint suggestion for humidity: We may think of brown tints for the humidity. The brown came on my mind from the colors of wood or mud.


 * The defaults: I know that the issue was discussed many times, but I believe that the default colors of the temperatures have to be changed. The pastel tints aren't convincing for low temperatures while the default red tints are difficult to read for high temperatures. Maybe we should have a mix of both tints as the default. Maybe making the lower temperatures have turquoise tints while the high temperatures have their pastel tints.

If those were changed, then the default precipitation color tint could be comfortably left as it is without collapsing with the blue low colored temperatures, or changed to green, or if not changed, then the precipitation/rainy days would take a default green tint after fixing the green color issue. I currently have no suggestion for the snow colors but they may take bluish tints different from other commonly nearby lines. --Mahmudmasri (talk) 20:02, 28 October 2013 (UTC)


 * Definitely. The standard colours are not ideal and have been in need of a change for a while. The green tints are based on the precipitation values so looking at this page, so a value of 78% and 81% humidity is the same if the monthly precipitation values are 78 and 81 mm respectively since we are using the same template that is used for precipitation colours onto a humidity one.


 * You make a good point that precipitation days should not take on the same colour as the precipitation lines due to the blending that results from it. I would prefer changing the precipitation values to green over the avg. precip/rainy/snow days. Currently, the blue colour scheme isn't so convincing by making the precipitation values that are <130 mm higher than it should be compared to the green colour for it. Secondly, a green precipitation colour would actually show that precipitation contributes to making the landscape green and ultimately deciding the type of flora and fauna that can flourish at a certain climate (after all, the numbers are used, not avg. precip days to determine if the climate is arid or not). Precipitation is not just about looking at each individual drop of rain (water has a blue tint but only in large amounts), it should be about it impact many factors such as agriculture, tourism, flora and fauna etc. The green would give a more wider perspective than blue colours. Another thing to point out is that by separating it from temperature and avg. precip days for readers to process the data, it makes it easier to detect any unusual values/vandalism since blending makes it harder to detect it (not everyone is going to go the edit history page to see who changed it) and makes it easier to transfer the climate data to another wiki by simply looking at the weather box. It would make sense to keep avg. precip days blue since 12 to 13 days with precipitation is quite significant and more days with precipitation does not necessary mean the landscape turns green (only the monthly amounts matter). Ssbbplayer (talk) 06:59, 10 November 2013 (UTC)

Weather Data Descriptions
Is there a way that Weather Box descriptions and data can be updated to indicate that specific listed measurements are mean or average depending on the source for the weather records?

It appears that a lot of times the listed measurements indicate a mean measurement when the source lists it as an average measurement and vice versa.

As an example, NOAA monthly temperature data is shown as daily average measurements when the description indicates daily "mean" temperatures.Wondering55 (talk) 01:50, 29 September 2013 (UTC)


 * I consider average and mean to be the same thing. Ssbbplayer (talk) 03:06, 5 December 2013 (UTC)