Difference between revisions of "Module:Climate/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Erutuon
blackwiki>Erutuon
(Cwb, Csb)
Line 42: Line 42:
 
   |0.5 1.8 5.7 11.5 16.9 22.3 25.2 24.6 20.6 14.5 9.1 3.4
 
   |0.5 1.8 5.7 11.5 16.9 22.3 25.2 24.6 20.6 14.5 9.1 3.4
 
   |81.3 71.1 101.6 101.6 96.5 99.1 114.3 104.1 94 96.5 86.4 91.4 }}
 
   |81.3 71.1 101.6 101.6 96.5 99.1 114.3 104.1 94 96.5 86.4 91.4 }}
 +
* [http://www.weatherbase.com/weather/weather.php3?s=603454 Ifrane, Morocco]: {{#invoke:Climate|Koeppen_template
 +
  |3.1 5 7.3 9.6 13.8 18.4 23.1 22.6 18.4 12.8 7.4 3.6
 +
  |69.9 69.1 60.8 62.4 43.6 21.5 12.8 17.2 30.2 51.8 77.7 81 }}
 +
* [http://www.weatherbase.com/weather/weather.php3?s=684611 Maseru, Lesotho]: {{#invoke:Climate|Koeppen_template
 +
  |19 18 17 13 9 7 7 9 13 15 17 18
 +
  |127 106 105 56 26 13 12 20 30 74 99 105
 +
  |yes}}
 
* [http://www.weatherbase.com/weather/weather.php3?s=109013 Boone, North Carolina]: {{#invoke:Climate|Koeppen_template
 
* [http://www.weatherbase.com/weather/weather.php3?s=109013 Boone, North Carolina]: {{#invoke:Climate|Koeppen_template
 
   |1.1 1.7 5.2 10.3 14.9 18.7 20.3 19.8 16.7 11.2 5.8 1.7
 
   |1.1 1.7 5.2 10.3 14.9 18.7 20.3 19.8 16.7 11.2 5.8 1.7

Revision as of 20:48, 27 June 2018

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

Koeppen_template
Parameters:
1, 2
Temperatures and precipitation figures (12, one per month), separated by any characters that are not digits (0-9), hyphen-minuses (-), or periods (.).
alt_CD
Use -3 °C as the dividing line between C and D climates. The default is 0 °C.
alt_hk
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.
alt_w
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

  • Key West: Script error: The function "Koeppen_template" does not exist.
  • Lagos, Nigeria: Script error: The function "Koeppen_template" does not exist.
  • Cheyenne: Script error: The function "Koeppen_template" does not exist.
  • Leh, India: Script error: The function "Koeppen_template" does not exist.
  • Lima: Script error: The function "Koeppen_template" does not exist.
  • Phoenix: Script error: The function "Koeppen_template" does not exist.
  • Los Angeles, California: Script error: The function "Koeppen_template" does not exist.
  • New York, New York: Script error: The function "Koeppen_template" does not exist.
  • Ifrane, Morocco: Script error: The function "Koeppen_template" does not exist.
  • Maseru, Lesotho: Script error: The function "Koeppen_template" does not exist.
  • Boone, North Carolina: Script error: The function "Koeppen_template" does not exist.
  • Quito: Script error: The function "Koeppen_template" does not exist.
  • Balmaceda: Script error: The function "Koeppen_template" does not exist.
  • Ushuaia: Script error: The function "Koeppen_template" does not exist.
  • Seoul: Script error: The function "Koeppen_template" does not exist.
  • Arak, Iran: Script error: The function "Koeppen_template" does not exist.
  • Denver: Script error: The function "Koeppen_template" does not exist.
  • South Lake Tahoe: Script error: The function "Koeppen_template" does not exist.
  • Vladivostok: Script error: The function "Koeppen_template" does not exist.
  • St. Petersburg: Script error: The function "Koeppen_template" does not exist.
  • Anchorage: Script error: The function "Koeppen_template" does not exist.
  • Khatgal, Mongolia: Script error: The function "Koeppen_template" does not exist.
  • Fairbanks: Script error: The function "Koeppen_template" does not exist.
  • Mount Washington, New Hampshire: Script error: The function "Koeppen_template" does not exist.
  • Alert: Script error: The function "Koeppen_template" does not exist.
  • McMurdo Sound: Script error: The function "Koeppen_template" does not exist.