User:Amgine/Weather

This is a list of sites around the world - more than 250 of them - which might be used for a tentative weather routine.The list can be modified, and MUST BE, because it's not very representative. (This list was built from the top 100 population centres + national capitals + a handful of odd sites I was interested in, but many were accidentally scrubbed due to character encoding or other problems in automating the lat/lon retrieval.)

This list produced the graphic plotting on this image, which shows too many dots in some locations, not enough in others. These dots are coloured based on recent temperature observations (at the time the image was created - not currently 'live',) but the ultimate application will be image-mapped to a page with a weather forecast + current conditions (which may be a part of a news portal, or a subpage of one, or a stand-alone weather forecast page for the location... whatever works best for the community.)

Note only a subset of this list is currently shown in the image. I could use some help updating the remaining continents to the new data format ( geobaseid#,Country,Region,Location,decimal latitude,longitude,2-letter country code). Currently the temperature retrieving routine is not failing gracefully when weather observations are unavailable - quite noticeable at Alert Point, Nunavut, Canada...

Leave me a message on my talk page with any suggestions on the weather concept. Edit this list (including adding points at Add location.)

Current listing
This list is an un-ordered csv of geolocations in the following format: name,toponym name,latitude,longitude,country,2-letter country code.

Africa

 * 2507480,Algeria,Alger,Algiers,36.7525,3.04197,DZ
 * 2478216,Algeria,Tamanghasset,Tamanghasset,22.785,5.5227778,DZ
 * 2240449,Angola,Luanda,Luanda,-8.83833,13.23444,AO
 * 933773,Botswana,South-East,Gaborone,-24.65451,25.90859,BW
 * 2357048,Burkina Faso,Kadiogo,Ouagadougou,12.36423,-1.53834,BF
 * 2389853,Central African Republic,Bangui,Bangui,4.36122,18.55496,CF
 * 2427123,Chad,Chari-Baguirmi,N'Djamena,12.11058,15.03479,TD
 * 921772,Comoros,Grande Comore,Moroni,-11.70216,43.25506,KM
 * 2314302,Congo-Kinshasa,Kinshasa,Kinshasa,-4.32459,15.32146,CD
 * 223817,Djibouti,Djibouti,Djibouti,11.5,42.5,DJ
 * 355017,Egypt,Giza,Pyramids of Giza,30.00861,31.21222,EG
 * 2309527,Equatorial Guinea,Bioko Norte,Malabo,3.75,8.78333,GQ
 * 343300,Eritrea,Other,Asmara,15.33333,38.93333,ER
 * 344979,Ethiopia,Addis Ababa,Addis Ababa,9.02497,38.74689,ET
 * 2399697,Gabon,Estuaire,Libreville,0.38333,9.45,GA
 * 2413876,Gambia,Banjul,Banjul,13.45274,-16.57803,Gambia,GM
 * 2306104,Ghana,Greater Accra,Accra,5.55602,-0.1969,GH
 * 184745,Kenya,Nairobi,Nairobi,-1.28333,36.81667,KE
 * 2274895,Liberia,Montserrado,Monrovia,6.30054,-10.7969,LR
 * 2210247,Libya,Tripoli,Tripolis,32.87519,13.18746,LY
 * 1070940,Madagascar,Antananarivo,Antananarivo,-18.91433,47.53098,MG
 * 927967,Malawi,Lilongwe,Lilongwe,-13.98333,33.78333,MW
 * 2460596,Mali,Bamako,Bamako,12.65,-8,ML
 * 2377450,Mauritania,Trarza,Nouakchott,18.10033,-15.94975,MR
 * 934154,Mauritius,Port Louis,Port Louis,-20.16194,57.49889,MU
 * 2553604,Morocco,Grand Casablanca,Casablanca,33.59,-7.61,MA
 * 3352136,Namibia,Khomas,Windhoek,-22.55941,17.08323,Namibia,NA
 * 2440485,Niger,Niamey,Niamey,13.5125,2.11178,NE
 * 2352778,Nigeria,Abuja,Abuja,9.05735,7.48976,NG
 * 202061,Rwanda,Kigali,Kigali,-1.94995,30.05885,RW
 * 241131,Seychelles,Other,Victoria,-4.61667,55.45,SC
 * 1018725,South Africa,Free State,Bloemfontein,-29.13333,26.2,ZA
 * 379252,Sudan,Khartoum,Khartoum,15.54665,32.53361,SD
 * 934985,Swaziland,Hhohho,Mbabane,-26.31667,31.13333,SZ
 * 2464470,Tunisia,Ariana,Tunis,36.8027778,10.1797222,TN
 * 232422,Uganda,Kampala,Kampala,0.31628,32.58219,UG
 * 292968,United Arab Emirates,Abu Dhabi,Abu Dhabi,24.46667,54.36667,AE
 * 909137,Zambia,Lusaka,Lusaka,-15.40809,28.28636,ZM
 * 890299,Zimbabwe,Harare,Harare,-17.82935,31.05389,ZW

Americas, North & Central

 * 3571824,Bahamas,New Providence,Nassau,25.0833333,-77.35,BS
 * 3582672,Belize,Cayo,Belmopan,17.25,-88.76667,BZ
 * 6301462,Canada,Other,Alert Airport,82.517778,-62.280556,CA
 * 5946768,Canada,Edmonton,Edmonton,53.55014,-113.46871,CA
 * 6324729,Canada,Nova Scotia,Halifax,44.646,-63.57333,CA
 * 6077243,Canada,Quebec,Montréal,45.50884,-73.58781,CA
 * 6094817,Canada,Ontario,Ottawa,45.41117,-75.69812,CA
 * 6141256,Canada,Saskatchewan,Saskatoon,52.11679,-106.63452,CA
 * 6324733,Canada,Newfoundland,St. John's,47.56494,-52.70931,CA
 * 6167865,Canada,Ontario,Toronto,43.70011,-79.4163,CA
 * 6173331,Canada,British Columbia,Vancouver,49.249657393,-123.119340403,CA
 * 6180550,Canada,Yukon,Whitehorse,60.716114782,-135.053747639,CA
 * 6183235,Canada,Manitoba,Winnipeg,49.8844,-97.14704,CA
 * 6185377,Canada,Northwest Territories,Yellowknife,62.456,-114.35255,CA
 * 3598132,Guatemala,Guatemala,Guatemala City,14.64072,-90.51327,GT
 * 4005539,Mexico,Jalisco,Guadalajara,20.66667,-103.33333,MX
 * 3995465,Mexico,Nuevo León,Monterrey,25.66667,-100.31667,MX
 * 3703443,Panama,Panamá,Panama City,8.9936,-79.51973,PA
 * 4268701,United States,Kansas,Brown v Board of Education National Historic Site,39.0377782,-95.6769259,US
 * 4887398,United States,Illinois,Chicago,41.85003,-87.65005,US
 * 4684888,United States,Texas,Dallas,32.78306,-96.80667,US
 * 4990729,United States,Michigan,Detroit,42.33143,-83.04575,US
 * 5296401,United States,Arizona,Grand Canyon National Park,36.0555385,-112.1396138,US
 * 4699066,United States,Texas,Houston,29.76328,-95.36327,US
 * 5368361,United States,California,Los Angeles,34.0522342,-118.2436849,US
 * 5430864,United States,Colorado,Mesa Verde National Park,37.2333289,-108.4798107,US
 * 5128581,United States,New York,New York,40.71427,-74.00597,US
 * 5308655,United States,Arizona,Phoenix,33.4492,-112.0784,US
 * 5746545,United States,Oregon,Portland,45.52345,-122.67621,US
 * 5511077,United States,Nevada,Reno,39.52963,-119.8138,US
 * 5391959,United States,California,San Francisco,37.81604,-122.35303,US
 * 5049970,United States,Minnesota,Thief River Falls,48.11914,-96.18115,US
 * 4140963,United States,District of Columbia,Washington,38.89511,-77.03637,US
 * 5856195,United States,Hawaii,Honolulu,21.3069444,-157.8583333,US

Americas, South & Carribean

 * 3576311,Antigua and Barbuda,Codrington,Codrington,17.63333,-61.83333,AG
 * 3435910,Argentina,Distrito Federal,Buenos Aires,-34.5761256318848,-58.4088134765625,AR
 * 3374036,Barbados,Bridgetown,Bridgetown,13.1,-59.61667,BB
 * 3911925,Bolivia,La Paz,La Paz,-16.5,-68.15,BO
 * 3470127,Brazil,Minas Gerais,Belo Horizonte,-19.92083,-43.93778,BR
 * 3469058,Brazil,Distrito Federal,Brasília,-15.77972,-47.92972,BR
 * 3663517,Brazil,Amazonas,Manaus,-3.101944444,-60.025,BR
 * 3452925,Brazil,Rio Grande do Sul,Porto Alegre,-30.03306,-51.23,BR
 * 3390760,Brazil,Pernambuco,Recife,-8.05389,-34.88111,BR
 * 3451190,Brazil,Rio de Janeiro,Rio de Janeiro,-22.90278,-43.2075,BR
 * 3450554,Brazil,Bahia,Salvador,-12.97111,-38.51083,BR
 * 4030726,Chile,Valparaíso,Easter Island,-27.11667,-109.36667,CL
 * 3874787,Chile,Magallanes y Antártica,Punta Arenas,-53.15,-70.91667,CL
 * 3871336,Chile,Santiago,Santiago,-33.42628,-70.56656,CL
 * 3899361,Chile,Tarapacá,Arica,-18.4833333,-70.3333333,CL
 * 3688689,Colombia,Bogotá,Bogotá,4.6,-74.0833333,CO
 * 3689147,Colombia,Atlántico,Barranquilla,10.9638889,-74.7963889,CO
 * 3553478,Cuba,Havana,Havana,23.13302,-82.38304,CU
 * 3652462,Ecuador,Pichincha,Quito,-0.22985,-78.52495,EC
 * 3378644,Guyana,Demerara-Mahaica,Georgetown,6.80448,-58.15527,GY
 * 3718426,Haiti,Ouest,Port-au-Prince,18.53917,-72.335,HT
 * 3489854,Jamaica,St. Andrew,Kingston,17.99702,-76.79358,JM
 * 3439389,Paraguay,Central,Asunción,-25.30066,-57.63591,PY
 * 3935636,Peru,Cusco,Machu Picchu,-13.16357,-72.54574,PE
 * 3936456,Peru,Lima,Lima,-12.05,-77.05,PE
 * 3573890,Trinidad and Tobago,Port-of-Spain,Port of Spain,10.66617,-61.51657,TT
 * 3441575,Uruguay,Montevideo,Montevideo,-34.83346,-56.16735,UY

Asia excluding Russia

 * 1138958,Afghanistan,Kabul,Kabul,34.52813,69.17233,AF
 * 616052,Armenia,Yerevan,Yerevan,40.18111,44.51361,AM
 * 587084,Azerbaijan,Baku,Baku,40.37767,49.89201,AZ
 * 1831948,Cambodia,Siemreab-Otdar Meanchey,Angkor Wat,13.41237,103.86661,KH
 * 1269843,India,Andhra Pradesh,Hyderābād,17.37528,78.47444,IN
 * 1275004,India,West Bengal,Kolkata,22.56972,88.36972,IN
 * 1275339,India,Maharashtra,Mumbai,19.01441,72.84794,IN
 * 1261481,India,Delhi,New Delhi,28.63576,77.22445,IN
 * 112931,Iran,Tehran,Tehrān,35.69439,51.42151,IR
 * 98182,Iraq,Baghdad,Baghdad,33.34058,44.40088,IQ
 * 1857910,Japan,Kyoto,Kyōto,35.25432,135.44118,JP
 * 1856035,Japan,Okinawa,Naha,26.2125,127.68111,JP
 * 2128295,Japan,Hokkaido,Sapporo,43.06417,141.34694,JP
 * 1850146,Japan,Tokyo,Tōkyō,35.6895,139.69171,JP
 * 250441,Jordan,Amman,Amman,31.95522,35.94503,JO
 * 1526273,Kazakhstan,Astana,Astana,51.1801,71.44598,KZ
 * 1838524,South Korea,Busan,Busan,35.10278,129.04028,KR
 * 1835848,South Korea,Seoul,Seoul,37.56826,126.97783,KR
 * 285787,Kuwait,Other,Kuwait City,29.36972,47.97833,KW
 * 1528675,Kyrgyzstan,Bishkek,Bishkek,42.87306,74.60028,KG
 * 6301112,Laos,Viangchan,Wattay International Airport,17.96667,102.6,LA
 * 276781,Lebanon,Beirut,Beirut,33.88894,35.49442,LB
 * 1735161,Malaysia,Kuala Lumpur,Kuala Lumpur,3.1412,101.68653,MY
 * 1282027,Maldives,Malé,Malé,4.1748,73.50888,MV
 * 2028462,Mongolia,Ulaanbaatar,Ulan Bator,47.90771,106.88324,MN
 * 1298824,Burma,Yangon,Yangon,16.80528,96.15611,MM
 * 1283240,Nepal,Other,Kathmandu,27.70169,85.3206,NP
 * 287286,Oman,Muskat,Muscat,23.61333,58.59333,OM
 * 1174872,Pakistan,Sindh,Karachi,24.9056,67.0822,PK
 * 1172451,Pakistan,Punjab,Lahore,31.54972,74.34361,PK
 * 7303419,Palestinian Territory,West Bank,East Jerusalem,31.78336,35.23388,PS
 * 1701668,Philippines,Manila,Manila,14.6041667,120.9822222,PH
 * 1815286,China,Sichuan,Chengdu,30.66667,104.06667,CN
 * 1814087,China,Liaoning,Dalian,38.91222,121.60222,CN
 * 1809858,China,Guangdong,Guangzhou,23.11667,113.25,CN
 * 2037013,China,Heilongjiang,Harbin,45.75,126.65,CN
 * 1797929,China,Shandong,Qingdao,36.09861,120.37194,CN
 * 1796236,China,Shanghai,Shanghai,31.22222,121.45806,CN
 * 2034937,China,Liaoning,Shenyang,41.79222,123.43278,CN
 * 1792947,China,Tianjin,Tianjin,39.14222,117.17667,CN
 * 1791247,China,Hubei,Wuhan,30.58333,114.26667,CN
 * 1790630,China,Shaanxi,Xi’an,34.25833,108.92861,CN
 * 290030,Qatar,Doha,Doha,25.27932,51.52245,QA
 * 108410,Saudi Arabia,Riyadh,Riyadh,24.6408333,46.7727778,SA
 * 1248991,Sri Lanka,Western,Colombo,6.93194,79.84778,LK
 * 170654,Syria,Damascus,Damascus,33.5102,36.29128,SY
 * 1668341,Taiwan,Taipei,Taipei,25.04776,121.53185,TW
 * 162183,Turkmenistan,Ahal,Ashgabat,37.95,58.38333,TM
 * 745044,Turkey,Istanbul,İstanbul,41.01384,28.94966,TR
 * 1566083,Vietnam,Hồ Chí Minh,Thành phố Hồ Chí Minh,10.75,106.66667,VN
 * 71137,Yemen,Sanaa,San‘a’,15.35472,44.20667,YE

Europe including Russia and overseas holdings

 * 3041563,Andorra,Andorra la Vella,Andorra la Vella,42.50779,1.52109,AD
 * 3191281,Bosnia and Herzegovina,Bosnia and Herzegovina,Sarajevo,43.84864,18.35644,BA
 * 3067696,Czech Republic,Prague,Praha,50.08804,14.42076,CZ
 * 658225,Finland,Southern Finland,Helsinki,60.16952,24.93545,FI
 * 3382160,French Guiana,Guyana,Cayenne,4.93333,-52.33333,GF
 * 3424935,Saint Pierre and Miquelon,Saint Pierre and Miquelon,Commune de Saint-Pierre,46.78333,-56.2,PK
 * 2997319,France,Île-de-France,Louvre,48.8604022303183,2.33844637870789,FR
 * 2950159,Germany,Berlin,Berlin,52.5166667,13.4,DE
 * 734745,Greece,Other,Parthenón,40.11667,23.81667,GR
 * 3413829,Iceland,Capital Region ,Reykjavík,64.13548,-21.89541,IS
 * 2964574,Ireland,Dublin,Dublin,53.34399,-6.26719,IE
 * 2964346,Ireland,Cork,Fastnet Rock,51.38889,-9.60361,IE
 * 3169070,Italy,Lazio,Roma,41.89474,12.4839,IT
 * 3164603,Italy,Veneto,Venice,45.43861,12.32667,IT
 * 456172,Latvia,Riga,Riga,56.946,24.10589,LV
 * 593116,Lithuania,Vilnius,Vilnius,54.68916,25.2798,LT
 * 2562305,Malta,Other,Valletta,35.89972,14.51472,MT
 * 2993458,Monaco,Other,Monaco,43.73141,7.41903,MC
 * 2759794,Netherlands,North Holland,Amsterdam,52.37403,4.88969,NL
 * 72837,Norway,Oslo/Oslo,Oslo,59.91325,10.73892,NO
 * 3372964,Portugal,Azores,Lagoa,39.05,-27.9833333,PT
 * 2267057,Portugal,Lisboa,Lisbon,38.71667,-9.13333,PT
 * 683506,Romania,Bucuresti,Bucureşti,44.43225,26.10626,RO
 * 2023469,Russia,Irkutsk,Irkutsk,52.2977778,104.2963889,RU
 * 1502026,Russia,Krasnoyarsk,Krasnoyarsk,56.0097222,92.7916667,RU
 * 520555,Russia,Nizhniy Novgorod,Nizhniy Novgorod,56.3286733202717,44.002046585083,RU
 * 1496747,Russia,Novosibirsk,Novosibirsk,55.0411111,82.9344444,RU
 * 2013348,Russia,Primorsky,Vladivostok,43.1056202305923,131.873531341553,RU
 * 1486209,Russia,Sverdlovsk,Yekaterinburg,56.8575,60.6125,RU
 * 2673730,Sweden,Stockholm,Stockholm,59.33258,18.0649,SE
 * 2661552,Switzerland,Bern,Berne,46.94809,7.44744,CH
 * 3573061,Bermuda,Saint George,Saint George,32.33333,-64.75,BM
 * 3426691,Falkland Islands (Malvinas),Other,Stanley,-51.7,-57.85,FK
 * 703448,Ukraine,Kiev,Kiev,50.45466,30.5238,UA
 * 2643743,United Kingdom,England,London,51.5084152563931,-0.125532746315002,GB
 * 2647878,United Kingdom,England,Grimsby,53.5333333,-0.05,GB
 * 2650776,United Kingdom,Scotland,Dunbar,56,-2.5166667,GB
 * 1512569,Uzbekistan,Tasjkent,Tashkent,41.26465,69.21627,UZ

Oceania

 * 2077895,Australia,Northern Territory,Alice Springs,-23.7,133.88333,AU
 * 2172517,Australia,Australian Capital Territory,Canberra,-35.28346,149.12807,AU
 * 2073124,Australia,Northern Territory,Darwin,-12.46113,130.84185,AU
 * 2163355,Australia,Tasmania,Hobart,-42.87936,147.32941,AU
 * 2063523,Australia,Western Australia,Perth,-31.93333,115.83333,AU
 * 2147714,Australia,New South Wales,Sydney,-33.86785,151.20732,AU
 * 1642911,Indonesia,Jakarta,Jakarta,-6.21462,106.84513,ID
 * 2079882,Marshall Islands,Other,Uliga,7.08971,171.38027,MH
 * 2081986,Micronesia,Pohnpei,Palikir,6.91667,158.15,FM
 * 2179538,New Zealand,Wellington,Wellington,-41.28664,174.77557,NZ
 * 1559446,Palau,Other,Koror,7.34221,134.47909,PW
 * 2088122,Papua New Guinea,Port Moresby,Port Moresby,-9.44314,147.17972,PG
 * 4035413,Samoa,Other,Apia,-13.83333,-171.76666,WS
 * 2108502,Solomon Islands,Other,Honiara,-9.43333,159.95,SB
 * 4032402,Tonga,Tongatapu,Nuku`alofa,-21.13333,-175.2,TO
 * 2110394,Tuvalu,Other,Vaiaku,-8.52425,179.19417,TV

Add location
I don't need all of this information, but I need at least a valid name and country name. (Note this is not necessarily as easy as you may think; Japan, for example, is not always the country name used to find locations in that country.)

Some South American locations I couldn't find...
 * Caracas, Venezuela
 * Puerto Ordaz, Venezuela
 * Concepción, Chile
 * Mendoza, Argentina
 * Sucre, Bolivia
 * Quito, Ecuador
 * Georgetown, Guyana
 * Paramaribo, Suriname