Template talk:Weather box/Archive 7
"For precipitation/rain colour - there is no consensus"My edits were reverted by a user here as I added the green colour precipitation for a number of cities (say around 130 cities, give or take, which were mainly large cities/capitals). I wouldn't have stressed to myself to go as far as small towns (not unless if I knew them). So the blue colours were still around in many other articles. Not to mention, a number of climate boxes didn't allow green precipitation. Anyway, the user told me (should I use his name?) that "There is consensus for blue rain in Wikipedia (formerly also as status quo), please do not add green option to climate sections of articles." Just above they said that there wasn't a consensus, but now he told me that there is? Can anyone please clarify this? Can some of my edits be reverted at least (I can do them personally to spare your time)? Her are my reverted additions - start from 13:58, 4 December 2013 (Dakar) to 08:15, 4 December 2013 (Prospect): My reverted 'green precipitation' cities Oh, I just voted up there. Apologies if I was 7 months late. I believe the votings were closed, no? Thanks for your help. Meganesia (talk) 12:45, 5 December 2013 (UTC)
Meganesia, currently:
Generally, as you can see (five sentences above), your changes can not be done. Subtropical-man (talk) 17:17, 5 December 2013 (UTC) PS. your main reason for your change is relation between low (often blue) temperatures with blue precipitations but according to vote, there is clear consensus (voting result: 5:1) for violet average low temperature colour, so - the problem ended (also there is consensus for snowfall colour - blue, voting result: 4:1:1). For some time low (currently often blue) temperatures will be changed to violet, according to the consensus. Currently still being discussed about radiation/varieties of violet to use. Subtropical-man (talk) 18:06, 5 December 2013 (UTC) Oh my! Meganesia, you made some false edits regarding climate classification that I had to revert! --Mahmudmasri (talk) 03:49, 24 January 2014 (UTC) I really can't revert all of them. That's very hideous :( Please make the correct calculations from there, Köppen climate classification, before falsely changing correct climate classifications. Using primitive descriptions like, warm temperate, is very vague. --Mahmudmasri (talk) 03:59, 24 January 2014 (UTC) Cleanup category for articles with both imperial first and metric firstI found today that User:Guardian of the Rings ran an automated script last year to add "imperial first = Y" to a large number of articles (this param is not referenced by this template directly, but rather by Module:WeatherBox). However, it was added to articles which already contained "metric first = Y". When these parameters occur together, the C and F data ends up being displayed in reverse - the C data is labelled as F, and vice versa. I'd like to add a cleanup category in this template to catch articles that use both of these parameters, so they can be fixed eventually. I haven't touched a template this complicated in a few years... where's the best place in the template code to put this? Or any ideas on a better way to do this. — RockMFR 17:01, 2 February 2014 (UTC)
Violet temperature colour schemesWe need to decide which violet colour scheme is the best. There are a lot of options to choose Here are some examples below (from the previous discussion). Option 1 {{#invoke:Gradient| gradient_test | gradient= {{#invoke:Gradient|export_gradient | 0 | #E6E6FA | -45 | #B57EDC | -90 | 000000 }} | step = 1 | cells_per_row = 25 }}
Option 2 {{#invoke:Gradient| gradient_test | gradient= {{#invoke:Gradient|export_gradient | 0 | #8F00FF | -90 | 000000 }} | step = 1 | cells_per_row = 25 }}}
Option 3 {{#invoke:Gradient| gradient_test | gradient= {{#invoke:Gradient|export_gradient | 0 | #E6E6FA | -15 | #B57EDC | -50 | #8F00FF | -90 | 000000 }} | step = 2 | cells_per_row = 25 }}
Put your comments below. Ssbbplayer (talk) 18:35, 5 December 2013 (UTC) Of course, the code can be changed freely. You can choose different shades, and experiment further, if these three examples are not sufficient for someone. Subtropical-man (talk) 18:42, 5 December 2013 (UTC)
What do you think about this? (below) <nowiki>{{#invoke:Gradient| gradient_test | gradient= {{#invoke:Gradient|export_gradient | 0 | #ffffff | -15 | #B57EDC | -35 | #8806CE | -65 | #4C2882 | -90 | 000000 }} | step = 1 | cells_per_row = 25 }}}
I experimented a little with the shades from Shades of violet. Subtropical-man (talk) 21:00, 7 December 2013 (UTC)
I already suggested that violet-fuchsia-purple tints be used for ultraviolet radiation, not temperatures :( --Mahmudmasri (talk) 02:59, 7 January 2014 (UTC)
Subtropical-manYou really need to calm down and stop harassing editors, claiming that I mass-change colors of climate charts. Most of your claims were on charts I took time and effort to create. I also explained on my talk page that I only use the optional colors when there is a reason.
--Mahmudmasri (talk) 21:49, 23 February 2014 (UTC) He also had the audacity to threaten me with a block, after making false claims against me when he was the one to make mass reverts and claim I do so! --Mahmudmasri (talk) 22:04, 23 February 2014 (UTC) He is being very discouraging for to me expand and enhance climate sections after all I did. Climate charts in many articles are either non-existent or incomplete. Why is he allowed to arbitrarily enforce his opinions. If color options are unacceptable, why are they even an option? --Mahmudmasri (talk) 22:13, 23 February 2014 (UTC) There are too many climate charts left vandalized and I took the time and effort to fix that, when he never notices them or cares to fix them, only cares to ruin my edits! --Mahmudmasri (talk) 22:15, 23 February 2014 (UTC)
You are the one who initiated the cycle of reverts. Those are examples of articles I was the one who created their climate charts, then you claimed that you reverted me on mass color edits. Reverting what?! I created them! Anyone can check their recent history! --Mahmudmasri (talk) 22:28, 23 February 2014 (UTC)
To sum: according to you better colour is green and pastels, according to me better colour is pink and black ;) but this does not mean that you change half of Wikipedia to your colors (green and pastels) and I change half of Wikipedia to colors (pink and black) because we have a own opinion. I understand, one or three articles but dozens or hundreds is too much and must be consensus. Dot. Subtropical-man talk Please, don't falsify another claims! I don't prefer colors. Anyone can check again the examples I mentioned, they all didn't use pastels! I don't have to repeat again that I haven't changed half of Wikipedia's articles. It's what you were doing, rather than doing productive contributions as I was checking and reverting vandalism or expanding climate charts, when you only cared to revert my edits claiming that I mass changed colors. You are the one who is being opinionated here and want to enforce it. --Mahmudmasri (talk) 23:10, 23 February 2014 (UTC)
I have a busy life and I just presented your issue here for reference to others. I have no time for procrastination. WP:WINNING --Mahmudmasri (talk) 00:20, 24 February 2014 (UTC)
MoS compliancePlease note that this template (apparently due to another template) uses hashes for listing sources, which is contrary to MOS:HASH. Toccata quarta (talk) 11:14, 11 March 2014 (UTC) Use of Weather box in settlement articlesDiscussion started at Wikipedia_talk:WikiProject_Cities#Weather_box on the use of this template in settlement articles. SilkTork ✔Tea time 16:25, 29 April 2014 (UTC)
Separate templatesUser:Lieutenant of Melkor on a large scale move Weather box data from articles to separate templates in articles about American cities, for example: [2] -> [3]. To make changes on a large scale (changes in many articles) must to be discussion and consensus. Also, description of the changes of new templates nothing says about move of data from articles, this is a falsification of the history of changes. It does not matter that user added some extra information (for example "Percent possible sunshine"), can not pretend to be the sole author of these data. In history of changes of templates, for example: [4], it clear show that User:Lieutenant of Melkor is the sole author of these data. This is stealing. Discuss (in Lieutenant of Melkor talk page) with this user did not resolves the problem. He believes that it is all ok. So,
Subtropical-man talk Descriptions of changes
Discussion about transfer data from articles to separate templatesThe first case (about descriptions of changes) was discussed. Now we discuss the second case: transfer data from weatherboxes in articles to separate templates. Must to be discussion and consensus to make changes on a large scale (changes in many articles), therefore, let's start discussion. Subtropical-man talk
Metric only?I am transferring this template into Slovenian Wikipedia (our sandbox sl:Predloga:Weather box/peskovnik, sl:Module:Weather box, and testcase sl:Predloga:Podnebje Ljubljane/peskovnik) .
I often transfer your templates and Lua modules into sl:, but this one is too big for me. Any advice?--Pinky sl (talk) 20:30, 26 August 2014 (UTC)
Unnecessary bold formatI suggest that most of the bold formatting - everything except the table heading ("Climate data for ...") - should be removed, as it is not consistent with MOS:BOLD. Mitch Ames (talk) 09:03, 12 September 2014 (UTC) % Humidity. When?"% Humidity" seems imprecise to me. First of all, it's average humidity, so that should be made clear. Next, and more importantly, relative humidity varies throughout the day, and average afternoon relative humidity is often significantly lower than average morning humidity. In fact, diurnal variations in humidity are generally much more pronounced than variations in average humidity throughout the year.
For these cities and many others, it’s not particularly informative showing a monthly humidity, especially if we don’t specify when in the day the humidity reading was taken. For this reason, it’s important to specify what time of day these readings were taken when this information is specified in the source. Third, when people talk about humidity, it is much more often in the context of heat and the heat index, so afternoon humidity is much more relevant. Rarely are people interested in calculating the heat index at the coolest time of the day; they are usually concerned with how hot it will feel at the hottest part of the day. On the drier side, fire weather warnings are typically issued based on the minimum relative humidity that will be reached during the afternoon. Fourth, for the above example cities and especially for drier locations, the difference in afternoon humidity is more pronounced throughout the year than the month-to-month variation in morning humidity. Take Salt Lake City. Mornings vary from 79% in January to 52% in July: 27%. Afternoons, 70% in January to 22% in July: 48%. And keep in mind that % relative humidity varies much less per degree increase in temperature at a constant dewpoint. (Raising the temperature from 70F to 80F at constant 70F dewpoint drops the RH from 100% to 72%: a 28% drop; from 70F to 80F at constant 20F dewpoint drops the RH 15% to 11%: only a 4% difference.[ http://andrew.rsmas.miami.edu/bmcnoldy/Humidity.html]) So a greater difference relative humidity in the drier part of the day (afternoons in January vs. July) is representative of a much larger temperature/dewpoint separation difference than would the same %RH difference in the mornings. For this reason, it is more important to list average afternoon relative humidities when this information is specified in the source. I propose changing the existing “% humidity” to “Average Relative humidity (%)”. Note the different wikilink, which would link to the more appropriate page. I’ll do this right away. There’s no category currently in the template for dewpoint, and I can’t remember seeing this in any articles so far, so I don’t think this will make any difference in existing articles. If it does, it’s high time for the issue to come up, because that means that some editors were entering in dewpoints when RHs were implied by this template. I propose adding a category for “Average Afternoon Relative humidity (%)”. The reason for the second category: I’m not confident that the sources for climate data for all cities, especially outside the United States, state what time of the day the humidity readings were taken. I’m pretty sure I would be able to tell if the data represents average throughout the day or average afternoons, but I’m not sure yet if this would run into issues of WP:SYN or WP:OR. Ufwuct (talk) 21:50, 25 March 2015 (UTC) Row HeadingsI think the new row headings are incorrect/misleading for precipitation and snow by not being clear that the listings are for monthly averages. Is there an easy way to fix/modify these row headings? DBK (talk) 21:28, 3 April 2015 (UTC)
Tweaks and correctionsAs per the above two sections I've tweaked the template. I added the option to have the time of day the humidity was measured at by using "|time day =" or if the humidity is for the entire day then "|daily = Y" should be used. I've also removed the piping in Average [[Relative humidity|humidity]] to Average [[relative humidity]] for clarity. I also added "Average" to the snow rain and precipitation lines. I removed "Average high temperature during the day (average maximum daytime temperature)" and "Average low temperature at night (average minimum night-time temperature)". The wording is meaningless as day and night have not been defined. Also that does not apply to every country. As an example Canada, click to open the temperature section, says "At most climatological stations, maximum temperature is the highest temperature recorded in a 24-hour period..." and this is usually 0600Z which is close to midnight local. This is completely different to the undefined day and night given above. I tried checking the US and UK but couldn't find anything. For Australia it says "Maximum and minimum temperatures for the previous 24 hours are nominally recorded at 9 am local clock time." Does anyone know the country/countries in which the day/night temperatures applied. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 05:04, 7 April 2015 (UTC)
Source italicsThe template shout not put the output of
WidthThe width of the template was just reduced. I've reverted it for now as I think there needs to be a discussion before making a major change like. Of course this comes down to how people think the box looks. I don't think the small size improves the readability at all. It doesn't seem to help much on a phone nor on a larger screen. If the box is too wide for the page because of other factors, Chesterfield Inlet, Nunavut, then <div style=width:80%> can be used to set a size. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 02:24, 19 June 2015 (UTC)
Problem with mm to inches conversionHi, the weather box at Rishon_LeZion#Geography is incorrectly converting mm to inches in the precipitation row. Can anyone see why? Zerotalk 01:25, 5 October 2015 (UTC)
Average high and lowThis was raised once before, but nothing was ever resolved, as far as I know. The problem is with the the per-month "Average high" and "Average low" temperature data that appears in numerous of these weather boxes. "Average high" could mean (i) the maximum temperature attained over the whole month, averaged over the years, or (ii) the average daily maximum for days in that month. Similarly for the lows. There is obviously a big difference in those two numbers, and unless it is clear which is meant the data is essentially meaningless. I suspect that (ii) is meant, but this would need to be verified. If this is correct, changing the labels to "Average daily high" and "Average daily low" would fix the problem. 81.152.224.68 (talk) 02:47, 13 August 2015 (UTC)
Converting to KelvinI'm working on my own version for my own use. I'm not an American so I don't use the imperial system. I attempted to change the conversion so it is C-K and K-C. It still converts to F though and I cannot figure out where the conversion is taking place. I was expecting something like Module:WeatherBox, reconcileTemperatureThe key conversion occurs in the Lua Module WeatherBox, which has the explicit mathematical equations in function reconcileTemperature. currently on line 316 of the source code. There will be other places to find the display labels and such. Iowajason (talk) 15:09, 15 November 2015 (UTC) Precipitation ColourI know this discussion has been brought up before but I believe there needs to be a definitive decision made on precipitation colour in weather boxes. I have been leaving precipitation as the default blue when I update or add weather boxes to pages but more often than not someone else will come along and change precipitation to green. I have been told that green makes the text easier to read but I believe blue is a better choice for a number of reasons. Firstly, blue makes sense in the context of rain and precipitation in general while green appears out of place both in its context and when viewed beside other colours in the weather box. Secondly, only some rows are being changed to green, leaving other rows with the previous blue colour scheme. For example, the rainy days field will remain blue after the surrounding rainfall and relative humidity fields have been changed to the green colour scheme. This leaves the chart messy and inconsistent and surely only creates further confusion over the accepted colour scheme. I also believe that when using the blue gradient it is easier to differentiate between cells with similar precipitation levels than it is when using the green gradient, allowing for a more easily understandable picture of weather patterns throughout the year at a glance. In response to any concerns over the readability of blue cells, I think the black on orange of temperatures in the high 30s is far more difficult to discern than black on light blue, not to mention the readability issues that also exist with white text on certain shades of green. If readability remains a significant concern, a possible solution could be to lower the threshold for the switch to white text. Overall, I believe there definitely needs to be a consensus reached on precipitation colour in weather boxes, as there is no reason for multiple colours to exist for the same purpose. I have listed a number of reasons above that explain why I believe blue would be a better choice (context, contrast, consistency) but if others are able to provide good arguments in favour of green then it should at least be implemented properly. Either way, the colour of cells should not be left to a single user to decide and a default should be agreed to and subsequently not changed without discussion. Blue is currently the default as set in the template so I think it would be best if this is left unchanged on pages either until it is agreed that it should stay as default or until the default is changed to green. Changing to green now will either be a pointless move if the default colour is changed or necessitate many further edits to revert it if blue becomes the consensus. Svwiki99 (talk) 06:58, 13 December 2015 (UTC)
Seems like error in |
Collapsed for readability |
---|
The following discussion has been closed. Please do not modify it. |
{{Weather box <!-- Infobox begins --> | collapsed = <!-- Any entry in this line will make the template initially collapsed. Leave blank or remove this line for uncollapsed. --> | open = <!-- Any entry in this line will make the template permanently open, and remove the hide button. Remove this line for a collapsable table. --> | metric first = yes | single line = <!-- Any entry in this line will display metric and imperial units in the same cell. Leave blank or remove this line for separate table rows. --> | location = <!-- Mandatory field, location the climate data was taken, usually an airport. --> | temperature colour = <!-- Enter "pastel" for pastel temperature colors, "none" for no colours, remove this line for the standard coloring. --> <!-- Maximum Humidex --> <!-- The humidex table can be used only if the source provides humidex values. As of July 2015, few if any countries other than Canada use the Humidex. --> | Jan maximum humidex = | Feb maximum humidex = | Mar maximum humidex = | Apr maximum humidex = | May maximum humidex = | Jun maximum humidex = | Jul maximum humidex = | Aug maximum humidex = | Sep maximum humidex = | Oct maximum humidex = | Nov maximum humidex = | Dec maximum humidex = | year maximum humidex = <!-- Record high temperatures --> <!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. --> | Jan record high C = | Feb record high C = | Mar record high C = | Apr record high C = | May record high C = | Jun record high C = | Jul record high C = | Aug record high C = | Sep record high C = | Oct record high C = | Nov record high C = | Dec record high C = <!-- Average high temperatures --> | Jan high C = | Feb high C = | Mar high C = | Apr high C = | May high C = | Jun high C = | Jul high C = | Aug high C = | Sep high C = | Oct high C = | Nov high C = | Dec high C = | year high C = <!-- Mean daily temperature --> | Jan mean C = | Feb mean C = | Mar mean C = | Apr mean C = | May mean C = | Jun mean C = | Jul mean C = | Aug mean C = | Sep mean C = | Oct mean C = | Nov mean C = | Dec mean C = | year mean C = <!-- Average low temperatures --> | Jan low C = | Feb low C = | Mar low C = | Apr low C = | May low C = | Jun low C = | Jul low C = | Aug low C = | Sep low C = | Oct low C = | Nov low C = | Dec low C = | year low C = <!-- Record low temperatures --> <!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. --> | Jan record low C = | Feb record low C = | Mar record low C = | Apr record low C = | May record low C = | Jun record low C = | Jul record low C = | Aug record low C = | Sep record low C = | Oct record low C = | Nov record low C = | Dec record low C = <!-- Minimum wind chill --> | Jan chill = | Feb chill = | Mar chill = | Apr chill = | May chill = | Jun chill = | Jul chill = | Aug chill = | Sep chill = | Oct chill = | Nov chill = | Dec chill = | year chill = <!-- Total precipitation, this should include rain and snow. --> | precipitation colour = <!-- Enter "green" for green precipitation colours, "none" for no colours, remove this line for blue colouring. --> <!-- IMPORTANT: use mm or cm but NOT both! --> | Jan precipitation mm = | Feb precipitation mm = | Mar precipitation mm = | Apr precipitation mm = | May precipitation mm = | Jun precipitation mm = | Jul precipitation mm = | Aug precipitation mm = | Sep precipitation mm = | Oct precipitation mm = | Nov precipitation mm = | Dec precipitation mm = | year precipitation mm = | Jan precipitation cm = | Feb precipitation cm = | Mar precipitation cm = | Apr precipitation cm = | May precipitation cm = | Jun precipitation cm = | Jul precipitation cm = | Aug precipitation cm = | Sep precipitation cm = | Oct precipitation cm = | Nov precipitation cm = | Dec precipitation cm = | year precipitation cm = <!-- Rainfall --> | rain colour = <!-- Enter "green" for green rainfall colours, "none" for no colours, remove this line for blue colouring. --> <!-- IMPORTANT: use mm or cm but NOT both! --> | Jan rain mm = | Feb rain mm = | Mar rain mm = | Apr rain mm = | May rain mm = | Jun rain mm = | Jul rain mm = | Aug rain mm = | Sep rain mm = | Oct rain mm = | Nov rain mm = | Dec rain mm = | year rain mm = | Jan rain cm = | Feb rain cm = | Mar rain cm = | Apr rain cm = | May rain cm = | Jun rain cm = | Jul rain cm = | Aug rain cm = | Sep rain cm = | Oct rain cm = | Nov rain cm = | Dec rain cm = | year rain cm = <!-- Snowfall --> <!-- IMPORTANT: use mm or cm but NOT both! --> <!-- IMPORTANT: Do NOT use snow depth information in the snowfall area! These are 2 different kinds of data! --> | snow colour = <!-- Enter "green" for green snowfall colors, "none" for no colours, remove this line for blue coloring. --> | Jan snow mm = | Feb snow mm = | Mar snow mm = | Apr snow mm = | May snow mm = | Jun snow mm = | Jul snow mm = | Aug snow mm = | Sep snow mm = | Oct snow mm = | Nov snow mm = | Dec snow mm = | year snow mm = | Jan snow cm = | Feb snow cm = | Mar snow cm = | Apr snow cm = | May snow cm = | Jun snow cm = | Jul snow cm = | Aug snow cm = | Sep snow cm = | Oct snow cm = | Nov snow cm = | Dec snow cm = | year snow cm = <!-- Average daily % humidity --> <!-- If entering the average daily % humidity, then the humidex table should be used. As of December 2009, few if any countries other than Canada use the Humidex. --> | humidity colour = <!-- Enter "green" for green humidity colors, "pastel" for pastel humidity colours, "none" for no colours, remove this line for blue coloring. --> | time day = <!-- The time of day the humidity was measured at.--> | daily = <!-- Enter "Y" if the humidity is for the entire day--> | Jan humidity = | Feb humidity = | Mar humidity = | Apr humidity = | May humidity = | Jun humidity = | Jul humidity = | Aug humidity = | Sep humidity = | Oct humidity = | Nov humidity = | Dec humidity = | year humidity = <!-- Average number of precipitation days --> | unit precipitation days = <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. --> | precip days colour = <!-- Enter "green" for green colors, "pastel" for pastel colours, "none" for no colours, remove this line for blue coloring. Affects rain and snow days as well --> | Jan precipitation days = | Feb precipitation days = | Mar precipitation days = | Apr precipitation days = | May precipitation days = | Jun precipitation days = | Jul precipitation days = | Aug precipitation days = | Sep precipitation days = | Oct precipitation days = | Nov precipitation days = | Dec precipitation days = | year precipitation days = <!-- Average number of rainy days --> | unit rain days = <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. --> | Jan rain days = | Feb rain days = | Mar rain days = | Apr rain days = | May rain days = | Jun rain days = | Jul rain days = | Aug rain days = | Sep rain days = | Oct rain days = | Nov rain days = | Dec rain days = | year rain days = <!-- Average number of snowy days --> | unit snow days = <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. --> | Jan snow days = | Feb snow days = | Mar snow days = | Apr snow days = | May snow days = | Jun snow days = | Jul snow days = | Aug snow days = | Sep snow days = | Oct snow days = | Nov snow days = | Dec snow days = | year snow days = <!-- Average monthly sunshine hours, monthly totals are preferred, and will produce colours, but percentages are accepted. Use either the monthly or daily sunshine (depending on the source) but not both. --> | Jan sun = | Feb sun = <!-- For February only if the source gives daily hours, please multiply by 28.25, not 28 --> | Mar sun = | Apr sun = | May sun = | Jun sun = | Jul sun = | Aug sun = | Sep sun = | Oct sun = | Nov sun = | Dec sun = | year sun = <!-- Average daily sunshine hours. Use either the monthly or daily sunshine (depending on the source) but not both. --> | Jand sun = | Febd sun = | Mard sun = | Aprd sun = | Mayd sun = | Jund sun = | Juld sun = | Augd sun = | Sepd sun = | Octd sun = | Novd sun = | Decd sun = | yeard sun = <!-- Average percent of possible sunshine. Number of daylight hours already factored into this number. Note that since this is possible sunshine, nighttime hours should not be included in this calculation. Will produce colors. --> | Jan percentsun = | Feb percentsun = | Mar percentsun = | Apr percentsun = | May percentsun = | Jun percentsun = | Jul percentsun = | Aug percentsun = | Sep percentsun = | Oct percentsun = | Nov percentsun = | Dec percentsun = | year percentsun = <!-- Mandatory fields, source --> | source = <ref name="">{{cite web |url= |title= |publisher= |access-date=March 15, 2016 }}</ref> <!-- For a second source --> | source 2 = <ref name="">{{cite web |url= |title= |publisher= |access-date=March 15, 2016 }}</ref> }}<!-- Infobox ends --> Then based on the available data I would remove all the fields that didn't require. Like so: {{Weather box | metric first = yes | single line = yes | location = | Jan record high C = | Feb record high C = | Mar record high C = | Apr record high C = | May record high C = | Jun record high C = | Jul record high C = | Aug record high C = | Sep record high C = | Oct record high C = | Nov record high C = | Dec record high C = <!-- Average high temperatures --> | Jan high C = | Feb high C = | Mar high C = | Apr high C = | May high C = | Jun high C = | Jul high C = | Aug high C = | Sep high C = | Oct high C = | Nov high C = | Dec high C = | year high C = <!-- Mean daily temperature --> | Jan mean C = | Feb mean C = | Mar mean C = | Apr mean C = | May mean C = | Jun mean C = | Jul mean C = | Aug mean C = | Sep mean C = | Oct mean C = | Nov mean C = | Dec mean C = | year mean C = <!-- Average low temperatures --> | Jan low C = | Feb low C = | Mar low C = | Apr low C = | May low C = | Jun low C = | Jul low C = | Aug low C = | Sep low C = | Oct low C = | Nov low C = | Dec low C = | year low C = <!-- Record low temperatures --> | Jan record low C = | Feb record low C = | Mar record low C = | Apr record low C = | May record low C = | Jun record low C = | Jul record low C = | Aug record low C = | Sep record low C = | Oct record low C = | Nov record low C = | Dec record low C = <!-- Total precipitation, this should include rain and snow. --> | Jan precipitation mm = | Feb precipitation mm = | Mar precipitation mm = | Apr precipitation mm = | May precipitation mm = | Jun precipitation mm = | Jul precipitation mm = | Aug precipitation mm = | Sep precipitation mm = | Oct precipitation mm = | Nov precipitation mm = | Dec precipitation mm = | year precipitation mm = <!-- Rainfall --> | Jan rain mm = | Feb rain mm = | Mar rain mm = | Apr rain mm = | May rain mm = | Jun rain mm = | Jul rain mm = | Aug rain mm = | Sep rain mm = | Oct rain mm = | Nov rain mm = | Dec rain mm = | year rain mm = <!-- Snowfall --> | Jan snow cm = | Feb snow cm = | Mar snow cm = | Apr snow cm = | May snow cm = | Jun snow cm = | Jul snow cm = | Aug snow cm = | Sep snow cm = | Oct snow cm = | Nov snow cm = | Dec snow cm = | year snow cm = <!-- Average number of precipitation days --> | unit precipitation days = | Jan precipitation days = | Feb precipitation days = | Mar precipitation days = | Apr precipitation days = | May precipitation days = | Jun precipitation days = | Jul precipitation days = | Aug precipitation days = | Sep precipitation days = | Oct precipitation days = | Nov precipitation days = | Dec precipitation days = | year precipitation days = <!-- Average number of rainy days --> | unit rain days = | Jan rain days = | Feb rain days = | Mar rain days = | Apr rain days = | May rain days = | Jun rain days = | Jul rain days = | Aug rain days = | Sep rain days = | Oct rain days = | Nov rain days = | Dec rain days = | year rain days = <!-- Average number of snowy days --> | unit snow days = | Jan snow days = | Feb snow days = | Mar snow days = | Apr snow days = | May snow days = | Jun snow days = | Jul snow days = | Aug snow days = | Sep snow days = | Oct snow days = | Nov snow days = | Dec snow days = | year snow days = <!-- Mandatory fields, source --> | source = <ref name="">{{cite web |url= |title= |publisher= |access-date=March 15, 2016 }}</ref> <!-- For a second source --> | source 2 = <ref name="">{{cite web |url= |title= |publisher= |access-date=March 15, 2016 }}</ref> }}<!-- Infobox ends --> and then paste into a spreadsheet as column A. Then copy and paste each line of data into a text editor and do a search and replace (in my case it turns out to be replacing a tab with a line break. So that the average temperature looks like this: -4.7 -3.8 -0.5 4.4 8.9 12.7 16.0 15.4 10.8 5.7 -1.2 -4.6 4.9 Then paste that into column B. After that do a search and replace for tab and replace with a space. Then replace all double spaces with single spaces. Remove any unnecessary line (usually the remarks) and add the source(s). So: {{Weather box | metric first = yes | location = Beaver Mines (1981-2010) | single line = yes | Jan record high C = 13.3 | Feb record high C = 16.5 | Mar record high C = 22.0 | Apr record high C = 30.6 | May record high C = 30.0 | Jun record high C = 32.2 | Jul record high C = 35.6 | Aug record high C = 33.9 | Sep record high C = 35.0 | Oct record high C = 28.3 | Nov record high C = 23.9 | Dec record high C = 21.1 | Jan high C = 0.2 | Feb high C = 1.2 | Mar high C = 4.8 | Apr high C = 10.1 | May high C = 15.1 | Jun high C = 18.9 | Jul high C = 23.3 | Aug high C = 23.0 | Sep high C = 17.5 | Oct high C = 11.1 | Nov high C = 3.1 | Dec high C = -0.3 | year high C = 10.7 | Jan mean C = -4.7 | Feb mean C = -3.8 | Mar mean C = -0.5 | Apr mean C = 4.4 | May mean C = 8.9 | Jun mean C = 12.7 | Jul mean C = 16.0 | Aug mean C = 15.4 | Sep mean C = 10.8 | Oct mean C = 5.7 | Nov mean C = -1.2 | Dec mean C = -4.6 | year mean C = 4.9 | Jan low C = -9.5 | Feb low C = -8.7 | Mar low C = -5.7 | Apr low C = -1.3 | May low C = 2.7 | Jun low C = 6.4 | Jul low C = 8.5 | Aug low C = 7.8 | Sep low C = 4.1 | Oct low C = 0.2 | Nov low C = -5.4 | Dec low C = -8.9 | year low C = -0.8 | Jan record low C = -45.6 | Feb record low C = -43.3 | Mar record low C = -39.4 | Apr record low C = -27.8 | May record low C = -20.6 | Jun record low C = -3.9 | Jul record low C = -3.5 | Aug record low C = -7.0 | Sep record low C = -11.7 | Oct record low C = -29.4 | Nov record low C = -38.3 | Dec record low C = -44.4 | Jan precipitation mm = 35.0 | Feb precipitation mm = 38.9 | Mar precipitation mm = 52.5 | Apr precipitation mm = 60.3 | May precipitation mm = 92.4 | Jun precipitation mm = 108.9 | Jul precipitation mm = 50.9 | Aug precipitation mm = 48.7 | Sep precipitation mm = 61.1 | Oct precipitation mm = 46.8 | Nov precipitation mm = 50.4 | Dec precipitation mm = 33.9 | year precipitation mm = 679.8 | Jan rain mm = 4.4 | Feb rain mm = 3.2 | Mar rain mm = 4.5 | Apr rain mm = 17.2 | May rain mm = 74.2 | Jun rain mm = 107.4 | Jul rain mm = 50.9 | Aug rain mm = 47.2 | Sep rain mm = 54.7 | Oct rain mm = 19.6 | Nov rain mm = 11.9 | Dec rain mm = 4.0 | year rain mm = 399.2 | Jan snow cm = 30.6 | Feb snow cm = 35.7 | Mar snow cm = 48.0 | Apr snow cm = 43.1 | May snow cm = 18.2 | Jun snow cm = 1.6 | Jul snow cm = 0.0 | Aug snow cm = 1.5 | Sep snow cm = 6.4 | Oct snow cm = 27.2 | Nov snow cm = 38.5 | Dec snow cm = 29.9 | year snow cm = 280.6 | unit precipitation days = 0.2 mm | Jan precipitation days = 7.0 | Feb precipitation days = 7.3 | Mar precipitation days = 9.9 | Apr precipitation days = 9.2 | May precipitation days = 11.4 | Jun precipitation days = 11.5 | Jul precipitation days = 7.6 | Aug precipitation days = 8.1 | Sep precipitation days = 8.7 | Oct precipitation days = 7.2 | Nov precipitation days = 8.3 | Dec precipitation days = 7.0 | year precipitation days = 103.2 | unit rain days = 0.2 mm | Jan rain days = 1.6 | Feb rain days = 0.9 | Mar rain days = 2.4 | Apr rain days = 4.7 | May rain days = 10.3 | Jun rain days = 11.5 | Jul rain days = 7.6 | Aug rain days = 8.0 | Sep rain days = 8.3 | Oct rain days = 4.7 | Nov rain days = 2.9 | Dec rain days = 1.1 | year rain days = 63.9 | unit snow days = 0.2 cm | Jan snow days = 5.7 | Feb snow days = 6.6 | Mar snow days = 8.0 | Apr snow days = 5.6 | May snow days = 2.2 | Jun snow days = 0.0 | Jul snow days = 0.0 | Aug snow days = 0.1 | Sep snow days = 1.2 | Oct snow days = 3.7 | Nov snow days = 6.1 | Dec snow days = 6.2 | year snow days = 45.4 | source = <ref name="ccn">{{cite web |url= http://climate.weather.gc.ca/climate_normals/results_1981_2010_e.html?stnID=2366&lang=e&province=AB&provSubmit=go&dCode=1 |title= Canadian Climate Normals 1981-2010 Station Data |publisher= [[Environment Canada]] |access-date=2016-03-18 }}</ref> |} and then into the article. |
- Some cautions. If the actual figure is 1.0 make sure the 0 is included. I usually do it in the spreadsheet. Don't mix rain/snow with total precipitation. In the above example, for June rain is 107.4, snow is 1.8 for a total of 109.2 but June precipitation is 108.9. This can be seen even more so at Cambridge Bay#Climate. This has to do with melting the snow to get a water equivalent. If you are doing a place that seems to have no recorded snow don't put the rain down as precipitation. It may or may not be the same. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 06:02, 19 March 2016 (UTC)
I know how to compute simple statistics, using a spreadsheet or whatever. But I notice your discussion does not use the Lua module=WeatherBox at all. Does that module have any utility, or does it automagically get run whenever one declares use of template='Weather box', or what? Tlroche (talk) 22:45, 19 March 2016 (UTC)
- I have no idea how to use Wikipedia:Lua and as the current template (and others) work fine there really is little incentive to use it. If you look at What links here for the Module:WeatherBox it appears that 12,000+ pages are transcluded. The major problem with the template is the total precipitation/rain/snow conversion from mm/cm to in. It should convert to 2 decimal places but it sometimes converts to 3. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 17:36, 20 March 2016 (UTC)
Mean monthly sunshine hours
The "Mean monthly sunshine hours" label is wrong for the "Year" column. The "Year" column gives the total of all the monthly means. Either the label should be changed to "Mean sunshine hours" or the "Year" column should give the mean monthly sunshine hours, similar to what it does for the "Mean daily sunshine hours" row. Kendall-K1 (talk) 16:10, 20 January 2016 (UTC)
I have fixed the label in the sandbox. Any objections before I roll this out? Kendall-K1 (talk) 01:18, 18 March 2016 (UTC)
- @Kendall-K1: In many climatological data, the total of all the monthly means for sunshine data is the correct form and the standard in all countries and by WMO. Unlike daily values, monthly sunshine is computed by summing up all of the daily hours of sunshine recorded in each day (see this example in Chile, pg 13 on the pdf file which computes both daily and monthly values) much like average precipitation. In contrast, the daily values are calculated by dividing the monthly sunshine values by the number of days in a month, similar to temperature (add up all the temperature values then divide it by the number of days in a month to obtain mean temperatures). The term monthly is needed to differentiate this from mean daily sunshine values. Ssbbplayer (talk) 15:09, 6 April 2016 (UTC)
Portal di Ensiklopedia Dunia