Content deleted Content added
→Usage: Seoul |
explanation |
||
Line 1:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
Exports a function that calculates the [[Köppen climate classification]] of monthly average temperature and precipitation data in degrees Celsius and millimeters, based on the formulas described in the Wikipedia article.
== Function ==
; <code>Koeppen_template</code>
: Parameters:
:; <code>1</code>, <code>2</code>
:: Temperatures and precipitation figures (12, one per month), separated by any characters that are not digits (0-9), hyphen-minuses (-), or periods (.).
:; <code>alt_CD</code>
:: Use -3 °C as the dividing line between C and D climates. The default is 0 °C.
:; <code>alt_hk</code>
:: Cold semi-arid and arid climates (last letter k) have mean annual temperatures below 18 °C. The default is that they have a minimum monthly average temperature below 0 °C.
:; <code>alt_w</code>
:: Dry-winter climates (last letter w) have more than 70% of precipitation in high-sun half of year. Default is that wettest summer month has ten times as much precipitation as driest winter month.
== Examples ==
* [http://www.weatherbase.com/weather/weather.php3?s=10227 Key West]: {{#invoke:Climate|Koeppen_template
|20.7 21.7 22.9 24.7 26.8 28.5 29.2 29.2 28.4 26.8 24.3 21.9
|