Difference between revisions of "Module:Climate/doc"
Jump to navigation
Jump to search
blackwiki>Erutuon (Cwb, Csb) |
blackwiki>Erutuon m (→Examples: woops) |
||
| 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 }} | ||
| − | * [ | + | * [https://en.climate-data.org/location/291935/ Issaguen, Morocco]: {{#invoke:Climate|Koeppen_template |
| − | | | + | |4 4.6 6.8 10.9 12.5 16.2 19.9 19.8 15.9 11.5 8.2 5.3 |
| − | + | |151 142 142 92 48 19 4 6 27 71 146 151 }} | |
* [http://www.weatherbase.com/weather/weather.php3?s=684611 Maseru, Lesotho]: {{#invoke:Climate|Koeppen_template | * [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 | |19 18 17 13 9 7 7 9 13 15 17 18 | ||
Revision as of 20:49, 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.
- Issaguen, 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.