Difference between revisions of "Module:Climate/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Erutuon
blackwiki>Erutuon
(Dwc)
Line 75: Line 75:
 
   |-11.3, -9, -5.4, 1.3, 7.7, 12.2, 14.6, 12.8, 7.6, -0.2, -8.2, -10
 
   |-11.3, -9, -5.4, 1.3, 7.7, 12.2, 14.6, 12.8, 7.6, -0.2, -8.2, -10
 
   |25.4, 20.3, 22.9, 7.6, 17.8, 27.9, 55.9, 73.7, 73.7, 45.7, 30.5, 40.6 }}
 
   |25.4, 20.3, 22.9, 7.6, 17.8, 27.9, 55.9, 73.7, 73.7, 45.7, 30.5, 40.6 }}
 +
* [https://en.climate-data.org/location/870668/ Khatgal, Mongolia]: {{#invoke:Climate|Koeppen_template
 +
  |-23.6 -20.4 -12.5 -2.9 4.9 10 12.2 10.6 5 -3.8 -13.9 -20.5
 +
  |1 1 3 8 14 48 83 71 34 11 5 1 }}
 
* [http://www.weatherbase.com/weather/weather.php3?s=16207 Fairbanks]: {{#invoke:Climate|Koeppen_template
 
* [http://www.weatherbase.com/weather/weather.php3?s=16207 Fairbanks]: {{#invoke:Climate|Koeppen_template
 
   |-22.2 -18.5 -11.4 0.3 9.7 15.8 16.9 13.4 7.2 -4.3 -16.3 -20.1
 
   |-22.2 -18.5 -11.4 0.3 9.7 15.8 16.9 13.4 7.2 -4.3 -16.3 -20.1

Revision as of 03:25, 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.
  • 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.
  • St. Petersburg: Script error: The function "Koeppen_template" does not exist.
  • Vladivostok: 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.