Difference between revisions of "Module:Climate/doc"
Jump to navigation
Jump to search
blackwiki>Erutuon m (→Examples) |
blackwiki>Erutuon (→Examples: Cwc) |
||
| Line 85: | Line 85: | ||
|110 120 150 170 120 40 20 20 70 120 100 100 | |110 120 150 170 120 40 20 20 70 120 100 100 | ||
|yes}} | |yes}} | ||
| + | * {{#invoke:Climate|example | ||
| + | |location=La Paz, Bolivia | ||
| + | |url=https://www.dwd.de/DWD/klima/beratung/ak/ak_852010_kt.pdf | ||
| + | |9.3 9.0 8.9 8.8 8.2 7.3 6.8 8.2 8.7 10.0 10.5 9.7 | ||
| + | |133.7 104.7 71.7 31.7 14.3 5.1 7.1 15.2 35.5 38.1 50.5 94.9 | ||
| + | |yes}} | ||
* {{#invoke:Climate|example | * {{#invoke:Climate|example | ||
|location=Balmaceda | |location=Balmaceda | ||
Revision as of 22:46, 28 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 at least one month 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: Aw
- Lagos, Nigeria: Aw
- Cheyenne: BSk
- Leh, India: BWk
- Lima: BWh
- Phoenix: BWh
- Los Angeles, California: Csa
- Rangpur, India: Cwa
- New York, New York: Cfa
- Issaguen, Morocco: Csb
- Maseru, Lesotho: Cwb
- Boone, North Carolina: Cfb
- Quito: Cfb
- La Paz, Bolivia: Cwc
- Balmaceda: Csc
- Sutu Khasa, Bolivia: Cwc
- Ushuaia: Cfc
- Seoul: Dwa
- Arak, Iran: Dsa
- Denver: Dfa
- South Lake Tahoe: Dsb
- Vladivostok: Dwb
- St. Petersburg: Dfb
- Anchorage: Dsc
- Khatgal, Mongolia: Dwc
- Fairbanks: Dfc
- Mount Washington, New Hampshire: ET
- Nagqu, Tibet: ET
- Alert: ET
- McMurdo Sound: EF
- El Alto, Bolivia: ET