-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
59 lines (43 loc) · 65.7 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const regression = require('regression');
const http = require('http');
const port = 3000;
const express = require('express')
const app = express()
app.get('/', (req, res) => {
res.send(calculateTemperature())
})
app.listen(port, () => console.log(calculateTemperature()))
'use strict';
function calculateTemperature(){
var timeStart = process.hrtime()
var returnable;
//TEMPERATURE DATA
var usaTemps = "-5.4153,-6.3461,-0.1491,5.00631,12.1891,16.9296,20.8455,19.1789,13.8652,8.66346,0.32735,-4.7551,-5.8735,-4.6688,-0.4942,5.52933,12.7142,16.8991,19.375,18.5035,13.603,8.11396,0.91731,-6.3583,-6.1863,-6.4855,0.0853,5.16708,11.6296,16.0932,19.0531,18.4058,13.6211,7.49509,-0.7511,-4.9185,-7.6746,-6.479,-0.7531,5.30997,12.0383,16.7551,19.2079,17.8839,14.3335,7.66832,0.92198,-4.485,-6.7044,-6.0829,2.2027,6.20692,11.8198,17.0228,19.096,18.9098,14.566,6.57754,1.39805,-5.4722,-6.7066,-3.8315,-1.6296,6.51966,11.7594,16.5869,19.3147,18.7216,15.1852,7.44674,-0.1962,-4.4907,-5.5434,-5.0032,1.28569,4.5866,10.4871,15.8226,19.2898,18.3814,14.2836,7.49952,-0.0054,-3.4275,-4.7571,-4.4724,0.68631,6.29563,11.3208,16.4186,19.7532,18.1189,14.6161,6.47354,0.90888,-3.6632,-6.2384,-4.5018,-0.7444,4.32345,11.0705,17.102,19.458,19.0511,13.8881,6.81109,0.80343,-7.7167,-6.5172,-6.6947,3.196,6.47359,11.5739,16.8729,19.9484,18.2324,14.9122,8.29827,-0.0427,-5.3023,-5.9077,-3.6776,0.52373,4.68847,12.3234,17.8716,19.4965,18.347,15.0847,7.9477,-1.8564,-4.6455,-7.5357,-4.3722,-1.6605,6.09402,12.4161,15.9491,19.2172,17.8753,13.7078,7.75515,0.94693,-4.3256,-6.8329,-5.2216,-1.1594,5.98546,12.0468,17.3158,19.5064,19.1318,13.7734,6.6642,1.87232,-4.1006,-4.0929,-5.4734,-0.3503,5.73507,12.5983,17.5398,20.1861,18.7941,14.1052,9.02283,1.32542,-5.4987,-5.8141,-3.2152,-1.0093,8.16463,11.615,16.333,19.0816,18.148,14.4868,7.8998,0.96096,-4.3115,-6.6714,-4.9055,-0.6991,6.01821,11.4954,16.0814,20.1801,18.7214,14.0576,7.47784,-0.3871,-7.0251,-8.005,-5.4427,-1.0399,4.85285,9.82425,16.2155,20.0138,18.4776,14.2659,6.29112,0.06941,-7.3262,-8.7114,-4.4682,0.87539,4.56562,11.8974,17.9468,19.5367,18.8331,13.5244,8.64538,-0.7949,-3.8752,-5.6678,-4.4272,-0.5347,6.05904,11.96,17.1308,20.2596,19.1031,15.1384,7.27308,-1.0336,-6.3296,-7.0752,-3.1362,-0.9066,3.28196,11.1761,16.5023,19.299,18.0487,14.5697,7.92942,-0.2881,-4.3142,-5.0174,-3.3217,2.21524,5.70303,11.8349,17.9165,20.3743,18.9567,14.9178,8.45225,1.07435,-2.935,-6.6778,-4.9697,-1.0193,5.57681,11.9089,17.4737,19.2805,18.9149,15.2273,8.67419,0.56006,-3.9737,-4.5028,-5.2929,-1.6556,5.42519,11.8287,16.9839,20.1682,18.9654,14.7013,7.69819,1.55482,-3.8797,-7.6254,-4.0317,-0.637,3.99841,10.9075,17.0102,18.8075,18.6269,13.4384,7.64519,1.37844,-6.6841,-7.8095,-3.2538,1.18788,7.55264,12.0675,17.6313,19.9969,18.8852,15.5021,6.83659,0.33378,-4.5745,-3.9733,-2.5519,0.47341,6.30026,12.5794,17.366,19.9096,19.1623,14.5882,8.85402,0.99962,-5.4567,-4.7957,-2.2396,-0.3162,5.03841,11.6833,16.6624,19.7261,17.6822,14.2246,8.26197,0.25309,-6.5488,-4.1707,-2.6282,-0.2702,4.68491,12.6593,16.0182,19.6848,18.547,13.6307,8.29417,1.20788,-3.5992,-6.2405,-5.9068,-0.0823,5.75846,11.4198,16.7375,19.7197,18.9296,14.5902,8.09782,0.04586,-4.1151,-7.5977,-3.0911,-1.0672,7.04644,11.6337,17.0994,20.469,19.3342,14.8214,7.03393,-0.3817,-4.1489,-3.8402,-1.5214,-0.7423,5.85868,11.4652,17.9848,20.5226,18.7693,15.8186,8.73434,1.49203,-3.5388,-6.278,-4.463,-1.1754,6.61637,12.1458,17.2954,19.9825,18.8238,14.2801,7.56617,-0.9867,-5.5901,-5.5705,-6.1545,-0.1256,5.70685,11.7818,18.0337,20.4088,18.6936,15.4987,7.92428,0.94816,-4.6154,-5.7613,-2.6747,0.44278,7.33142,13.8085,17.9348,20.7203,19.3978,14.3069,9.48673,2.02893,-3.6398,-5.5386,-2.2637,1.04016,5.53306,10.4324,16.6346,20.6937,19.0205,14.5311,7.84705,-0.629,-5.8472,-6.8517,-7.9459,0.51347,5.71046,13.6046,18.581,21.2377,20.1965,15.1151,8.08639,0.10543,-4.2324,-6.0909,-5.5272,-1.5781,5.1178,12.4688,17.3874,20.3725,19.793,15.2791,8.61698,0.91787,-4.4555,-5.9026,-3.925,1.52684,6.86032,11.9538,17.1654,19.8837,19.6218,15.6831,10.0964,0.39767,-3.3459,-4.7985,-5.5372,-0.3096,6.5126,12.8615,17.2826,20.4587,18.9561,15.4845,7.87777,-0.106,-1.5099,-7.4892,-3.5382,0.22968,6.92934,12.7851,17.7355,20.3262,19.0935,15.1043,9.33818,-0.1406,-2.4311,-5.226,-2.829,-0.4846,7.24356,13.0838,17.1485,19.8819,19.2245,14.536,8.38188,0.6775,-2.7842,-4.5279,-3.8277,-0.1726,7.47556,12.0124,17.0152,20.1536,18.9485,14.6387,8.51476,0.30908,-6.0647,-7.5643,-2.3648,-1.1788,6.78301,12.0645,17.5592,20.1867,19.2961,14.2957,8.37887,1.19541,-3.7409,-4.7115,-2.5403,-1.4711,4.77215,12.9536,17.18,19.6871,18.7525,14.6372,9.0102,0.56523,-4.6019,-4.3721,-2.8041,1.47068,5.23615,10.6764,15.6571,19.5339,18.7201,14.5632,8.07353,-0.5315,-5.779,-4.6848,-3.6231,1.25837,7.06272,11.471,17.2961,20.2277,18.2411,14.3412,8.3206,-0.0184,-4.4221,-6.7969,-4.628,-0.9812,6.0022,12.1664,16.2251,19.7898,19.4963,15.0369,10.0258,-0.0752,-3.3529,-6.453,-5.2428,-1.5298,6.76532,11.8841,17.2885,19.5878,18.5159,14.7224,7.5373,-0.2988,-5.5963,-7.2517,-5.7187,0.8608,5.63263,12.2667,16.9113,20.0928,19.0663,14.5735,8.41684,3.18174,-4.6789,-5.4274,-4.9225,-0.3823,5.05198,11.6804,16.856,19.0875,18.352,14.3031,9.69098,-0.0959,-4.1352,-7.1552,-4.134,-2.3982,6.00249,12.648,16.3639,20.0496,18.9903,14.3568,7.81682,-0.0923,-5.2579,-6.0308,-3.4478,-1.7132,5.91375,11.5081,17.8861,20.0799,19.0793,14.8622,8.04632,1.29114,-3.7,-4.2111,-2.9403,0.4705,5.59967,11.9769,18.1052,20.3488,18.9589,15.2053,8.81292,1.5674,-3.7251,-6.3382,-2.1905,-0.5912,7.0416,11.6953,17.2968,20.4832,19.1074,15.2741,8.84241,2.43911,-5.3089,-5.3411,-6.2313,-0.7742,6.15775,12.3399,16.032,20.4006,19.3979,14.9245,8.05271,-2.4415,-5.5207,-6.534,-5.7972,-0.6637,5.28151,12.8092,17.7645,19.7135,18.6111,14.5126,8.09267,-1.2307,-4.4852,-6.2049,-2.6841,0.43523,6.51212,12.1375,17.7462,20.2886,19.2466,14.3898,7.63393,0.9617,-3.6762,-4.8698,-4.4486,-0.5735,6.35967,13.1012,17.2594,19.721,19.6132,14.9057,7.7539,1.03277,-4.6111,-6.8094,-3.4891,-1.6223,5.77298,12.4799,18.0195,19.5325,19.4196,14.5036,7.47293,-0.669,-3.7684,-6.081,-4.4129,-2.4881,5.96252,12.2033,17.1734,20.0585,18.8526,14.9539,8.31253,0.53121,-3.9847,-5.2146,-3.214,-0.1508,4.52072,11.8612,17.5741,19.6138,19.1491,14.1179,7.45073,-0.3888,-6.746,-7.0463,-2.6523,-1.527,6.31371,12.6232,16.9137,19.5225,19.1672,14.0312,9.16954,1.32041,-4.1039,-7.223,-3.4984,0.73144,6.23239,12.7292,16.9257,19.8842,18.8043,15.5003,10.0947,0.16493,-5.4003,-5.6533,-5.1741,-2.2884,5.42876,11.9161,16.9648,20.3746,18.2637,14.1674,8.12354,0.70317,-6.6663,-5.9084,-6.0068,-0.9698,6.56086,11.833,16.1492,19.2919,18.2383,13.6176,7.39885,2.1267,-3.7588,-8.4257,-5.2771,-0.6574,5.0957,11.5729,17.103,20.5061,18.235,14.7389,7.31296,1.18495,-5.1064,-4.8762,-4.6161,1.40804,6.42005,11.066,16.9743,19.4369,18.6795,14.4199,7.72064,0.81718,-4.4378,-6.3953,-4.8517,1.44681,5.57769,11.3491,17.0924,20.0393,18.6249,14.0407,7.99664,0.22253,-6.6345,-7.234,-4.7715,-1.9048,7.32786,13.0952,16.7887,19.9161,18.7969,15.1819,7.4426,-0.1424,-2.8682,-8.2081,-2.4352,-0.5101,5.29155,12.6687,17.2312,20.033,19.3739,13.9393,6.32382,0.84954,-4.5707,-8.2753,-4.9949,-1.9368,5.20265,11.0469,17.8134,19.449,18.8781,14.3739,8.30377,0.04902,-3.9329,-7.067,-5.1817,-0.5425,4.80237,12.2114,16.9535,19.6992,19.1605,14.164,7.54076,-0.44,-5.5035,-7.114,-4.0497,0.99708,5.33007,11.8382,17.3461,19.7441,19.0593,14.5859,8.71091,0.40445,-3.7473,-6.1902,-5.3139,0.80096,6.30213,12.303,17.0055,20.2162,18.5393,14.05,7.37461,0.21242,-5.0916,-6.1237,-4.9891,-1.0736,3.82187,12.3067,16.6319,20.1352,18.6823,13.5641,7.86193,-0.4881,-4.9546,-6.4624,-3.0928,0.10516,6.41855,11.5668,16.8552,19.6934,18.6632,14.5544,6.15875,-0.0423,-5.4132,-7.0477,-1.8865,-0.0726,6.70266,12.7731,18.0403,20.5665,19.5025,15.3324,8.17005,-0.121,-4.7052,-6.3763,-5.8267,0.3489,6.73824,12.2167,17.113,20.209,19.1273,15.389,7.77141,1.01967,-5.0346,-8.366,-8.2294,0.66697,5.98523,12.1222,16.8868,19.9897,19.0226,15.5126,9.1777,1.28026,-3.978,-6.0696,-3.2501,-0.191,6.69966,12.5773,17.2589,20.8302,19.0481,14.8273,7.74462,1.16124,-5.2687,-2.4834,-2.2224,2.22483,7.91411,12.357,17.6975,19.9287,18.8516,14.4006,7.36811,1.98585,-4.1618,-8.3162,-4.4987,0.4439,4.53691,12.1469,16.2712,19.8445,18.9015,14.4241,6.70452,-0.0877,-2.6187,-5.1608,-2.3307,0.76841,4.93693,11.3335,16.7952,20.2687,19.9568,14.3827,7.75423,1.54522,-6.8413,-6.5174,-4.1186,0.2184,4.90241,11.8033,17.4412,19.717,19.1851,14.0351,7.75339,-0.1513,-3.621,-5.4823,-6.0352,1.05452,5.93257,12.7881,16.6846,20.2766,18.4075,13.6041,7.31499,-1.0178,-4.6609,-3.7208,-2.5466,1.51993,5.91109,12.43,18.1056,20.0072,18.5562,14.3312,7.90604,0.0139,-2.3433,-4.6096,-2.118,0.84942,7.0299,13.5117,18.0176,20.0738,19.0358,14.5858,8.09946,1.39349,-3.6442,-6.3099,-3.7391,0.776,6.66377,13.031,18.4131,20.7722,19.6239,14.4016,6.98832,0.07445,-3.4565,-6.3459,-4.9024,0.28794,7.42177,12.2113,17.1234,20.5712,19.1379,14.7284,8.13737,-0.3511,-5.8152,-3.7649,-5.033,2.01738,7.61399,12.3098,18.158,20.2991,19.3864,15.6484,7.79971,0.77013,-5.748,-6.0482,-1.5655,0.93979,7.20034,13.4703,17.9005,20.0899,19.2929,15.0592,8.28441,-0.8618,-3.105,-3.9885,-2.1265,1.67409,6.50207,12.1373,16.9904,19.2294,18.0289,13.768,7.40718,0.06429,-5.1176,-5.8157,-4.5406,0.7792,6.60455,13.1405,17.0097,19.9716,18.9324,13.8122,8.0887,-0.187,-2.8065,-5.6681,-5.0267,1.04255,7.20645,12.9606,18.3181,20.353,19.4339,14.9931,7.79232,0.13588,-3.2141,-4.3758,-2.1929,0.2196,6.47977,12.4276,17.1826,20.2503,20.0201,15.3624,8.33333,0.01295,-4.1472,-6.8235,-3.5703,-0.2155,5.99605,12.8013,17.9778,20.1886,18.9605,13.828,6.7691,-0.6427,-4.5711,-6.5211,-2.0453,0.55369,4.81853,12.0507,17.4066,19.9506,19.0516,15.7442,7.16101,0.78698,-4.0951,-3.9887,-1.3943,1.05101,7.13169,13.4804,17.0844,20.847,19.5461,16.5227,8.50621,2.12893,-3.5139,-5.3647,-2.8118,0.09581,6.05264,12.0167,17.2406,20.224,19.4469,14.3906,7.67338,2.31753,-3.9927,-4.8978,-0.2944,2.38508,6.61306,12.8513,17.4026,19.8594,19.3451,14.5289,8.1762,-0.6575,-5.4792,-3.8619,-3.0089,-0.0083,7.12103,12.5613,17.6893,20.2631,19.8456,15.2009,7.39831,2.32349,-3.7176,-3.1715,-2.7628,-0.5114,6.52768,12.1286,18.1821,20.9967,19.0695,15.7628,7.48287,1.93888,-2.1399,-4.2048,-3.3063,0.65983,6.97499,12.5047,17.264,20.886,20.0908,14.4822,9.69952,1.07,-3.3668,-6.6293,-3.6808,2.09822,7.36164,13.5854,17.7194,20.3215,18.8864,14.7916,9.07185,1.88028,-3.0366,-4.623,-2.1747,1.29678,6.7169,12.7476,18.0016,20.9663,19.8308,16.1066,8.87446,0.71667,-3.5471,-2.9843,-2.5823,0.10305,7.54713,13.4557,18.3356,21.3661,19.3644,14.5534,8.17842,0.88973,-2.3496,-5.4579,-4.5598,1.13638,6.76317,13.3396,18.1378,20.9755,20.5864,15.8943,9.20662,2.33259,-3.6448,-6.0134,-4.139,0.2572,6.03457,12.2047,17.7104,20.2119,19.0756,15.0467,7.33345,0.99278,-4.6319,-6.08,-2.8759,0.13005,6.17062,13.1734,17.4177,20.0908,18.9133,15.6144,7.07,1.63542,-5.2797,-5.9172,-4.0751,0.98927,7.62067,12.5773,18.0564,20.4526,20.1705,15.559,9.1898,1.38027,-5.3136,-5.7548,-4.1138,0.75979,6.49159,12.2422,17.8582,21.0735,20.1638,15.4942,9.02666,0.40554,-2.7259,-5.4046,-1.4569,2.74047,8.05455,13.509,18.4199,21.4416,19.8489,15.2615,7.88116,1.96075,-3.6506,-4.3173,-3.5062,-0.1942,4.60962,12.2673,18.6739,20.7085,19.7316,15.6535,8.82506,0.53593,-5.2579,-3.7368,-4.7058,0.06626,6.86896,13.3304,17.5542,19.9613,19.5003,15.5667,9.13255,0.42014,-1.2558,-4.2714,-3.6229,2.27675,7.57875,13.533,18.9059,20.4831,19.3786,16.0969,10.121,2.45177,-1.4249"
var australiaTemps = "27.8411,27.2718,24.6958,21.421,17.9176,13.9245,12.6644,14.9599,19.5323,22.0649,26.99,28.3419,27.7468,27.2063,25.5855,21.926,17.8588,14.5711,13.8032,15.1608,19.1514,22.6343,25.8682,26.3418,27.8088,27.1944,25.8697,21.551,17.0847,14.265,13.0827,15.3136,18.3637,21.7225,24.7035,25.2864,26.4353,25.9248,24.1732,21.5549,17.5842,13.8772,13.4669,15.1596,17.9819,21.6219,25.1464,27.5514,28.1559,26.2472,25.3564,21.9577,18.3215,14.4644,13.3524,14.4993,16.9703,20.338,24.9958,27.8102,29.4199,28.9016,24.6958,23.1469,18.796,16.3211,14.7876,15.6805,18.2324,22.237,23.6974,26.4495,26.9801,26.9465,24.2844,20.8482,17.6367,14.6367,13.9772,15.7946,18.8896,23.0006,24.3074,26.3954,28.4235,26.6411,24.05,21.2068,17.1511,12.7426,12.9389,14.4698,17.0719,20.9986,25.483,27.282,26.726,26.4523,25.2892,20.2942,17.0706,14.976,12.7771,15.6196,18.2801,22.7952,24.6477,25.7188,27.8577,27.4319,24.197,22.0449,18.5382,15.1082,14.0312,16.4062,19.8211,20.9663,24.2464,25.8417,27.2795,26.1274,24.5795,21.3095,17.3929,13.4846,13.9,15.8124,18.7616,22.4375,25.9808,26.9789,28.2863,28.3707,26.0392,21.2775,17.9442,14.3618,13.8376,16.0822,19.0356,22.7135,24.5478,27.2381,27.0053,26.8765,24.2993,21.9725,15.645,13.2962,14.2124,15.5661,18.0536,22.6949,25.2574,27.6014,27.8061,28.0531,26.2164,22.6629,18.0314,14.9412,13.3406,16.754,19.0631,23.0838,26.3549,27.862,27.1295,28.3712,25.9972,22.4263,17.3144,16.1195,15.2449,15.7182,19.9241,22.362,25.9446,27.0475,27.962,27.5812,25.6759,20.6879,18.7909,15.7634,13.6618,16.1549,19.3866,21.3227,23.1911,25.8724,26.8099,24.7103,24.3417,20.3042,15.8379,13.9013,15.004,14.893,18.8395,21.8696,23.8042,26.5553,26.7459,25.9239,23.8106,21.193,17.8401,15.3817,12.742,15.6039,18.9691,22.5961,25.4753,27.3463,27.83,26.9281,25.0804,22.5769,17.7312,15.4175,13.7424,15.5932,18.6512,22.2123,25.5449,27.9482,26.7592,26.8298,24.4015,20.7641,17.2317,15.2204,13.8644,15.4925,18.8043,22.3028,24.9403,25.9616,26.971,27.1756,24.263,21.3273,19.2846,15.9789,14.8649,14.6575,18.8301,21.3424,25.7676,26.6528,27.3474,27.5898,25.1458,22.9006,17.2541,14.4415,12.4039,14.8523,18.7537,22.4084,25.6564,26.377,27.5713,28.48,26.1378,22.4845,18.5563,14.4662,13.1865,14.54,17.9763,21.6701,24.4018,26.8522,26.6909,26.2497,24.6568,19.8916,17.8001,14.316,14.6003,15.6628,19.2184,21.741,24.4802,25.7026,26.0434,26.8069,24.9575,21.3852,17.5741,14.4718,12.7031,14.5079,16.955,21.7305,25.6636,27.778,27.6913,28.9942,25.7172,22.2269,16.2716,14.2103,14.674,15.9837,18.9886,23.0707,25.5608,26.2393,27.6067,26.4886,25.4674,20.8501,16.7285,15.205,13.5928,15.6648,19.0568,22.6724,25.5711,26.4098,27.0974,26.8922,25.8693,22.983,17.1716,14.075,13.8731,17.2006,20.4706,22.6878,25.9112,27.5306,27.8146,27.9578,24.3242,20.5169,17.1554,13.8738,12.2583,15.7087,17.8198,21.99,25.4853,25.9528,27.3785,27.7693,25.5146,21.4877,17.7856,15.1083,14.7509,15.6813,18.8681,22.2727,25.3228,26.395,27.2001,26.8752,25.0612,21.1107,17.6269,14.864,13.9065,15.5991,18.8342,21.0599,23.6079,27.0432,29.6033,26.9789,25.4839,21.0548,18.1691,14.1916,13.4893,15.3995,18.3028,21.6136,25.128,26.7502,27.6683,27.5126,25.9576,21.6377,17.6805,15.224,13.3996,14.4693,18.361,22.3331,23.9417,25.8099,28.0056,27.3384,25.8303,21.1467,18.2635,14.522,13.8391,15.4022,19.011,21.5377,23.9566,26.5003,27.4422,27.0957,25.1878,20.7107,16.9648,13.8044,13.7138,15.8866,18.4366,22.313,25.5898,26.9602,28.1627,27.4467,25.0527,20.837,17.517,13.7665,14.4353,17.1289,18.7069,22.5315,25.411,27.0788,26.8481,27.179,25.4676,20.6668,18.1451,14.0062,13.0321,15.5649,18.7849,23.2056,25.9343,27.1607,27.3892,26.521,26.3895,22.4307,19.0947,14.8659,13.7361,15.2547,19.3179,23.3467,26.3966,28.1622,28.7888,27.2389,24.9668,21.6712,18.6682,14.6914,12.9859,14.7295,17.8883,21.4318,24.1268,26.5619,28.0042,26.3605,26.1573,20.8054,16.5119,14.959,13.7262,15.9412,19.0646,23.5489,24.4826,27.5111,25.993,26.7199,24.1818,22.0044,17.5017,14.3193,13.9838,14.8748,18.7109,21.4078,25.3953,27.1637,27.8122,26.2734,25.6313,21.8141,18.8624,15.5711,13.9872,16.6165,19.4697,21.9227,24.8073,26.4337,27.5217,26.6535,26.3118,21.4634,16.7024,13.5512,13.4771,14.6294,18.3553,22.2773,24.0472,26.5841,28.2532,26.2729,25.0494,20.6504,16.2373,14.1,13.6847,15.6752,19.9244,22.4677,26.1125,26.4811,27.0063,26.5647,24.8196,21.8411,17.4538,15.9416,13.1459,16.698,18.4215,21.0924,24.4794,27.0985,27.7439,26.0483,23.7324,19.8412,18.2921,13.2079,14.4356,15.7264,18.6405,21.5182,25.1914,27.0825,28.828,27.4034,25.1609,20.6591,17.9088,15.4194,14.2385,15.4052,18.1265,21.2749,24.2233,26.3317,26.9278,27.5903,24.4763,20.925,16.9559,14.091,13.6968,15.9719,18.6042,22.4453,24.8585,26.7703,26.9172,25.5899,24.3979,20.2817,16.7315,12.923,13.9562,15.7511,18.0498,22.1619,24.0981,27.0236,27.3739,26.3556,24.5837,21.1195,18.416,13.8144,13.6526,15.2279,19.0678,21.0943,24.334,26.3288,27.1228,26.9691,26.2432,20.6819,16.632,15.0854,13.3745,14.1638,19.1688,21.9809,25.3954,27.0189,28.1144,27.0187,25.3774,21.1957,17.4897,14.5665,13.4316,14.9601,18.8365,21.6208,24.1518,26.7677,26.7178,25.5701,26.1483,22.7848,17.078,14.7742,13.7792,14.2163,18.2265,22.235,24.5917,27.2632,27.297,26.0137,25.5251,21.5828,17.3505,13.9678,14.2352,15.7037,18.4558,22.1178,24.6924,26.8194,27.4267,27.5285,25.1374,21.4231,16.6703,15.0329,13.4546,16.4477,19.3561,22.0809,23.8537,26.0587,27.0364,27.3049,24.851,21.121,17.0514,13.5654,13.9041,14.0541,17.2204,20.9725,23.8894,26.2894,27.8924,26.7104,24.7503,22.6242,17.6444,16.6807,12.411,15.5519,18.4506,23.0375,25.8056,27.5092,27.58,27.5534,25.6341,22.922,19.934,15.1075,14.4372,15.9795,17.1545,21.8266,25.3667,26.4653,28.2235,27.2771,26.0582,22.2888,17.5941,15.2914,14.4371,16.2781,19.1519,22.5124,26.5662,26.0355,28.3586,26.8187,25.2342,21.4096,15.6479,13.8425,14.0601,14.4046,18.2539,22.6384,24.2069,26.6805,27.8934,27.1015,25.7486,22.5951,17.4486,14.8044,13.2028,14.9195,19.817,23.6581,25.2543,27.46,27.5459,27.1241,24.976,21.6131,17.011,16.3885,14.3851,15.2693,18.6334,22.1466,26.018,26.8362,27.1689,27.2786,25.9374,21.1321,18.1396,14.5425,13.6088,15.6547,18.8535,22.6384,25.1894,27.2416,27.5218,26.4799,25.655,22.0962,17.5184,15.2011,14.8995,15.8779,19.336,20.9464,24.623,25.837,27.7696,28.6094,25.3069,21.3215,18.3807,15.1755,13.0333,16.0732,19.8832,23.3657,25.3949,27.4698,27.4974,26.9644,25.3993,22.1947,16.8666,15.1331,13.524,14.6932,18.3009,21.0091,24.8268,25.8747,27.8566,26.3099,23.6896,22.3782,18.0549,14.7856,13.275,14.8248,18.5462,24.203,25.5323,26.5495,28.1811,27.5703,25.6231,22.5105,16.1088,15.1542,12.9217,14.3728,17.9864,22.1245,24.9495,26.1129,28.9354,27.1998,25.0599,21.5595,17.8517,14.3262,14.7138,16.3105,17.1835,23.3025,25.1743,26.5147,27.8833,27.9736,25.1982,21.6819,17.0683,15.7984,13.7167,15.1295,17.9367,22.9931,24.6773,26.8466,28.3385,27.4632,25.724,21.2771,17.2079,13.772,13.4781,15.9711,19.2245,22.7961,23.8896,26.4788,26.7866,26.7686,24.7864,21.4481,17.927,15.3802,13.7671,16.3555,19.6952,22.8746,25.6094,28.8364,28.7457,27.1367,25.7377,22.7997,19.1364,15.4323,15.8058,16.4071,18.8188,22.5366,24.7524,26.7195,26.6448,25.7424,25.3845,21.0586,17.317,14.0251,14.4054,15.6854,17.9767,21.432,23.5897,26.3982,27.0651,26.7586,24.6205,21.4116,18.1407,14.493,15.7562,15.5273,19.4964,20.6353,24.9381,26.4678,26.0908,26.4187,24.8857,21.2232,17.1305,14.2088,13.9693,15.1464,18.2604,20.9375,24.0168,27.5424,27.7792,27.7756,24.805,21.4035,17.3543,14.2121,13.5549,16.6889,18.129,23.2945,25.594,27.4623,27.7071,27.7586,26.1077,21.9003,18.275,14.442,13.519,15.0684,17.4101,21.7175,24.5877,26.2337,29.0509,27.0723,25.9009,21.9597,16.7455,15.6103,14.111,15.8849,19.0634,22.4546,26.4521,28.2415,28.0926,27.4624,26.4953,22.5577,19.0484,15.2523,14.1623,16.5887,20.4862,22.8186,26.4392,27.7071,28.4002,27.2049,24.5504,23.4825,18.1621,14.5229,14.4542,16.271,20.4133,22.4934,24.14,27.3796,28.571,27.4003,24.6629,21.7723,17.7522,13.4662,12.994,17.1746,18.6968,21.8833,26.4266,27.9121,27.8692,29.3195,25.7816,20.4824,18.2016,14.9545,13.0979,16.5772,20.5986,23.0907,25.1854,27.1224,26.2201,27.037,24.1103,21.5875,18.3031,14.8449,13.217,15.7498,17.4594,22.448,25.4693,26.9667,28.5304,28.1019,26.4042,21.8677,18.1168,14.0622,14.1955,16.5072,18.4304,21.9491,25.3135,26.8056,27.7649,27.9371,27.1487,22.3899,18.7051,15.1379,13.6355,14.9316,19.355,21.4081,25.0356,26.8979,27.8792,26.7095,24.5731,22.8333,17.6975,15.7291,14.2207,15.6262,19.2119,23.1269,25.616,27.1429,28.9634,26.9223,26.0581,22.3495,18.9522,15.7434,15.0243,16.3195,20.0589,24.6218,24.7164,26.6654,27.5764,27.8739,25.2021,22.081,18.6672,13.9063,13.5134,14.3857,19.3018,22.8802,24.7289,27.2681,28.5151,26.6398,26.5038,21.9437,18.7349,14.3912,14.6333,15.4292,18.9762,22.9792,26.87,28.1691,28.3242,28.0315,25.7937,22.2785,18.3553,16.7118,14.5718,16.1061,19.6324,24.1281,25.3554,26.7761,27.5106,27.5406,26.5707,22.7398,18.2563,15.1668,14.6894,15.8972,18.6738,21.7909,23.8414,26.3432,28.4304,26.9588,25.6713,23.2226,18.5364,14.677,14.9859,16.3864,18.9677,21.8302,25.7259,26.2442,28.6267,27.1196,24.6882,21.7979,18.3364,14.9986,14.3905,15.3938,19.2431,23.0566,25.289,27.8109,28.0108,26.6973,24.7041,21.1619,17.4448,15.3054,14.4588,16.9725,20.1361,22.3639,25.4998,26.5383,27.9627,27.4632,25.5525,21.6171,18.2422,16.7747,14.9158,16.3619,19.6355,23.0268,25.1846,26.9924,27.3482,28.0413,24.7509,22.0288,17.7702,14.786,13.4077,15.6432,20.1696,23.0439,25.9035,27.8428,28.6697,28.4772,26.5492,22.291,19.253,15.4417,14.2722,17.2271,20.1717,23.1074,25.185,26.9649,28.9983,27.0253,25.8202,20.8293,18.9693,15.2988,14.6995,16.5643,20.3534,22.9563,23.5455,25.7537,26.8521,27.0208,25.1281,21.4853,16.428,13.9657,14.7134,15.6791,20.6991,21.9296,25.3254,26.8568,29.0503,27.4861,24.3456,21.8875,17.337,15.4381,14.2907,15.7207,19.7945,21.1172,24.3796,26.0031,27.5946,26.1466,25.5437,23.5681,19.1616,15.1387,14.4648,15.9011,19.9609,23.3724,26.5356,27.7694,28.5553,28.0276,24.9012,22.6098,18.7752,15.6137,14.8961,16.1551,20.1142,21.9359,25.7161,27.8105,28.2629,27.9405,25.5564,22.7434,17.6804,15.4896,14.2571,15.5639,18.7482,24.1947,25.3578,27.3292,28.3293,27.8139,26.4484,24.5055,19.1963,15.7897,15.0366,16.0205,20.0782,23.5888,25.8447,27.7706,28.9207,27.634,25.9699,21.1264,16.8394,13.7502,13.9152,16.6556,20.2181,23.8872,26.7321,27.0019,27.7626,28.8825,25.7222,22.7258,19.4526,13.3409,14.3393,16.7454,20.2059,23.7555,25.6898,26.8222,28.9621,26.4298,25.7662,21.3936,18.186,15.7205,14.324,14.7291,20.244,24.0008,24.8458,26.9036,28.2974,27.6378,25.8254,22.2149,17.6616,15.4024,14.6845,17.7873,20.0141,22.787,26.8842,27.648,28.3893,27.7618,25.499,23.126,18.0658,14.9638,14.6273,15.4822,18.6901,21.7101,24.3909,26.1794,28.5962,26.6793,24.1531,21.2144,16.4175,14.2608,14.5631,16.7662,19.1221,22.7699,25.3725,26.4441,27.7054,26.7077,24.2278,21.8738,17.3281,14.3049,13.5637,16.0875,20.08,23.2859,26.5397,27.9185,29.5589,27.8033,26.0481,22.9791,18.9305,15.5216,15.4174,17.3297,21.4669,23.8473,25.6515,27.5581,28.7527,27.235,26.0693,22.868,19.5168,15.3047,14.3534,15.8782,20.2287,24.4245,26.931,27.8774,27.7918,28.9366,26.1335,21.1191,17.6329,16.1442,14.3923,16.3887,19.162,24.9897,26.9465,28.0637"
var brazilTemps = "25.4428,25.6852,25.4134,24.6807,24.2498,23.6233,23.9889,24.5464,25.4163,25.9019,25.3493,25.2841,25.4154,25.878,25.5431,25.2931,24.7728,24.3457,24.0495,23.6911,25.408,25.5335,25.9746,26.0127,25.3233,25.7234,25.7457,25.0774,24.1325,24.0238,23.7238,24.1607,25.2533,25.3112,25.4216,25.7167,25.0649,25.4235,25.2458,24.9627,23.6202,23.057,23.413,23.8104,24.9,25.1578,25.3359,25.2219,25.1291,25.4753,24.9352,24.6405,24.6035,23.8587,23.4819,24.1923,25.0692,26.2031,25.6534,25.7393,25.2387,25.3513,25.3431,24.9139,24.5172,23.0143,23.6138,24.4442,24.8271,25.6293,25.668,25.5985,25.2071,25.4104,25.713,25.0019,23.9344,23.6279,22.872,23.7429,25.2631,25.4562,25.5677,25.8325,25.6288,25.9109,25.5208,25.1811,24.4295,23.7783,23.9447,23.624,25.3185,25.1056,25.3861,25.8156,25.7951,25.8793,25.5469,25.1736,23.6469,23.4954,23.5171,24.2436,25.1402,25.3059,25.4995,25.3486,25.5646,25.6468,25.1937,25.1564,23.5008,23.8132,23.5883,24.4406,25.2904,25.2594,25.3558,25.349,25.2726,25.7826,24.8326,24.8378,24.2726,23.0571,23.0756,23.9917,24.9372,25.3857,26.0043,25.8802,25.5096,25.6529,25.6174,25.2739,24.4871,23.6283,22.413,24.2288,24.2782,25.1787,25.6648,25.3029,25.2876,25.5254,25.3925,25.1836,23.9629,23.2471,23.727,23.8924,24.7925,25.5597,25.9073,25.4638,25.8369,25.5387,25.7268,25.0412,23.8815,24.174,24.2315,23.8094,25.3626,25.6757,26.0031,25.7589,25.944,25.7377,25.679,25.6111,25.6675,23.1536,23.7383,24.6544,24.8876,25.7494,25.3486,25.498,25.5292,25.5913,25.1363,25.0546,24.1889,22.5399,22.9186,24.1947,25.6236,25.2353,25.4112,25.0807,24.9708,24.842,24.8985,24.3538,22.6981,22.254,22.5059,23.2899,24.6931,25.0706,25.0748,25.0578,25.042,24.9086,25.2893,24.808,24.0891,23.2549,22.9302,23.6501,24.9391,25.5817,25.7694,25.5148,25.674,26.0504,26.0848,25.2359,25.29,24.2317,23.8839,23.415,24.5535,25.5344,25.531,25.4192,25.5921,25.7305,25.4432,25.1477,23.8878,22.7493,22.6417,23.3441,24.9131,25.8933,25.6618,25.2623,25.2483,25.3842,25.2327,24.5523,24.2148,21.9786,21.8082,24.0452,24.5681,25.2472,24.8733,25.5949,25.3578,25.3545,25.1979,24.6797,23.659,22.7558,22.6978,23.842,24.7445,24.6716,25.1011,24.9685,25.0443,25.121,25.0485,24.618,23.117,23.0231,22.1502,23.8557,24.9094,25.3086,25.3799,25.6912,25.5478,25.4219,25.4808,24.7834,23.3995,22.8834,22.66,22.7177,24.4151,24.3783,25.137,25.0816,24.8965,25.0677,24.7,25.0513,23.8999,22.5932,22.5757,24.3368,24.7598,25.1201,25.3842,25.6523,25.5491,25.7196,25.7088,24.9825,23.5167,23.5523,22.7634,24.1524,25.5318,25.3885,25.7968,25.2756,25.0293,25.1665,25.0265,24.6888,23.5544,22.3935,22.2642,23.6024,24.6889,25.1525,25.6524,25.3592,25.4502,25.6345,25.3235,25.2868,23.9237,23.3907,22.7564,23.1264,24.5114,25.1445,25.4769,25.1618,25.5329,25.314,24.9706,24.284,23.0428,22.9651,22.8274,23.7923,24.9791,25.4418,25.1115,24.9743,25.1953,25.2427,25.4132,24.814,24.316,23.9671,22.9728,24.2035,24.7428,25.1953,25.345,25.5114,26.0197,25.802,25.4853,25.2081,23.6992,22.9368,23.149,23.8836,24.4413,25.2312,25.106,25.2408,25.0637,25.5618,25.1899,25.4709,23.8597,23.3241,23.8304,23.6204,25.0153,25.4107,25.8245,25.2882,25.3335,25.4097,25.12,24.5199,24.0432,22.4001,22.3603,23.8937,25.0946,25.2572,24.9909,25.0551,25.0627,24.769,24.8458,24.4223,23.7542,23.2966,22.8629,23.8021,24.6721,24.7136,25.38,25.237,25.3874,25.133,25.3332,24.2327,23.3859,23.2951,23.2743,23.8411,24.7071,25.4685,25.359,25.809,25.2986,25.3039,25.4029,25.0622,24.9045,23.7108,23.045,23.6173,25.1238,25.8227,25.4456,25.4745,25.2763,25.7709,25.4431,24.5277,23.5626,23.5221,23.351,24.5958,25.0222,25.1448,25.7739,25.6087,25.5695,25.8879,25.2354,24.4989,23.9008,23.285,23.4273,23.7415,24.9397,25.0261,25.2799,25.3127,25.4231,25.2416,25.2266,24.5872,24.4672,23.535,22.7518,24.0005,24.655,25.6032,25.5958,25.5389,25.4619,25.7041,25.4869,25.0382,24.6565,23.4778,24.0179,23.8799,24.9313,25.4738,25.3644,26.1085,25.7955,26.1292,25.6799,25.8928,24.6358,23.2953,23.6356,24.8099,24.1058,25.8862,25.7972,26.005,26.2564,25.7398,25.8146,25.398,24.1434,22.9,22.3665,24.3412,25.3922,25.5612,25.858,25.2783,25.3621,25.3918,25.202,24.5034,24.5286,23.5829,23.3258,22.9692,24.515,26.0397,25.6657,25.1774,25.4578,25.546,25.4031,24.617,24.0242,23.5956,23.2115,24.7568,25.5311,26.2225,25.5298,26.0072,25.6423,25.331,25.4867,25.0176,23.2768,22.5488,23.2919,25.0599,25.3376,25.6492,25.546,25.3185,25.2571,25.7683,25.3514,24.7068,24.4576,23.3629,23.0809,24.0058,25.4504,25.7074,25.9481,25.4797,25.5285,25.7463,25.1614,24.8445,24.1196,23.6904,22.7861,23.9365,24.9213,25.106,25.1477,25.0271,25.5888,25.5859,24.9014,24.7213,24.087,23.6453,23.6777,23.8485,25.0646,25.4287,25.3779,25.5492,25.1227,24.9089,25.4579,24.1491,23.5684,23.6744,22.7978,23.6891,25.0653,25.1746,25.533,25.4862,25.1846,25.2541,24.6371,24.5733,23.8454,23.3278,22.973,24.0039,25.2182,25.3269,25.3602,25.1799,25.0395,25.2368,25.2317,23.8082,23.7836,22.7999,22.7836,23.8427,25.3295,25.695,25.6609,25.3017,25.7659,25.6198,25.4734,24.3573,23.9028,22.5595,23.2535,24.2065,24.8829,25.6017,25.419,25.3253,25.6947,25.487,25.3529,24.5924,24.3802,23.4139,22.367,24.6844,25.4388,25.5663,25.6856,25.4644,25.5888,25.6419,25.256,25.3141,24.0854,23.785,23.0687,24.3722,25.5122,25.6512,25.4173,25.4183,25.2621,25.3479,25.2344,24.5869,23.7326,23.3966,22.4713,24.1986,25.4224,25.3637,25.276,25.3182,25.3352,25.0056,25.1501,24.2029,23.4553,22.3317,22.9083,23.2023,25.0167,25.1951,25.0524,25.3191,24.8528,25.2672,24.8045,24.2977,24.4562,23.5247,22.614,24.4192,25.0184,25.9855,25.5926,25.9783,25.9824,26.2872,25.5592,25.0841,24.3749,23.9597,24.0434,24.014,25.3578,25.7155,25.7638,26.0635,25.5165,25.7621,25.2019,25.4395,24.3328,23.2682,23.7981,24.1429,25.283,25.8715,25.5244,25.9401,25.4809,25.4728,25.1152,24.6474,23.324,23.0559,23.0398,23.9992,25.2408,25.8876,25.3478,25.5191,25.6271,25.4802,25.632,25.3284,24.4492,23.2288,23.6503,25.2149,26.2987,26.0389,26.0989,25.4159,25.5438,25.6771,25.6178,24.9148,23.9141,22.8358,22.5361,24.4354,25.7778,25.3444,26.0434,25.7362,25.8965,25.4575,25.5524,25.0949,23.9669,23.1624,23.6122,24.9591,26.3245,27.1175,26.2356,25.892,25.8576,26.0477,25.5364,25.3135,24.0042,22.9543,23.059,24.6494,25.4534,25.1896,25.2396,25.3605,25.375,25.6063,24.9175,24.7902,24.4411,23.8373,23.6082,24.5765,25.911,26.061,25.8746,25.9439,26.1041,26.0693,25.8063,25.2236,24.6305,23.8783,23.6111,24.1826,25.087,26.2059,25.9645,26.0525,25.7195,25.5744,25.2874,24.8882,24.6151,23.2286,23.421,24.7898,25.9286,26.2791,25.7068,25.748,25.4465,25.4688,25.1636,24.2364,22.8539,23.1718,23.4426,24.2605,24.7041,25.9534,26.0706,25.7792,25.8073,26.2044,26.0797,25.4483,24.8626,23.8755,23.5351,24.4892,26.0324,25.7328,26.4031,25.5217,25.8235,25.8803,25.7104,25.482,24.8032,23.9641,23.3154,24.302,25.2184,26.0009,25.7106,26.2275,25.65,25.1997,25.2421,24.3679,23.4862,22.5239,22.9739,23.7331,24.8674,24.8062,25.0692,25.7409,25.1321,25.092,25.4093,24.4208,24.4242,24.1038,23.4838,24.1033,25.1884,25.7522,26.0828,26.1751,26.4046,26.186,26.058,25.8386,24.1645,23.9274,22.8199,23.8331,24.808,25.8328,25.467,25.526,25.2625,25.2838,24.7862,24.6113,23.7174,22.9502,22.6928,23.8618,24.7572,25.1007,25.3135,24.8948,24.9917,25.2376,25.1288,24.5984,23.7032,23.1467,22.2127,23.9258,25.1857,25.3142,25.2568,25.2441,25.1891,24.9489,24.8034,24.4259,23.7212,22.6525,22.8773,24.2182,24.5391,25.2858,25.1953,25.5299,25.4591,25.4201,25.5686,24.6545,23.5454,23.2764,24.0704,24.2641,25.1133,25.5464,25.5913,25.5807,25.597,25.7917,25.3984,24.7909,23.8199,22.9206,23.6541,23.2488,24.7175,25.5933,25.6096,25.6339,25.1189,25.5971,25.2542,24.8358,24.2006,22.505,23.0093,24.6077,24.7264,25.9264,25.5502,25.623,25.3686,25.6191,25.6312,25.2092,24.5997,23.3169,23.4913,24.1898,24.5589,25.6869,25.3313,25.7122,25.416,25.6149,25.5471,25.1613,24.5317,22.7832,22.2528,23.9018,24.5159,25.2031,25.6243,25.7621,25.2681,25.5616,25.4257,24.7141,23.88,23.7815,23.5838,24.276,24.9492,25.5799,25.9423,25.3724,25.9043,26.1714,25.7464,25.8077,25.2762,23.6784,23.7056,23.8282,24.8751,25.124,25.4084,25.2784,25.6232,25.9011,25.4987,24.586,24.6309,23.3814,23.4723,23.5379,24.535,25.8769,25.685,25.5822,25.4023,25.5248,25.5626,25.1162,24.3636,22.7636,23.0063,23.9407,25.0195,25.7245,25.7146,25.7328,25.4817,25.5837,25.3466,25.3847,24.8179,23.349,23.0883,24.4758,24.7359,25.377,25.9191,25.6664,25.9384,25.8514,25.4643,25.6956,24.3651,23.5641,24.6679,24.3102,25.3741,26.5738,26.2792,26.3691,26.2763,25.9589,26.2304,25.3254,24.3856,23.0255,22.715,24.547,25.6688,25.9219,25.7188,25.6654,25.2854,25.5579,25.3136,25.1852,23.816,23.4637,22.5562,24.2707,24.9188,25.3787,25.8998,25.5036,25.8838,25.7143,26.0438,25.8643,24.2709,23.523,22.7812,24.2986,24.6622,26.3002,26.394,25.901,25.643,25.9575,25.6557,25.3129,24.791,23.9843,23.2685,23.9083,25.1664,25.5752,25.9412,25.9974,25.7081,25.8255,25.4243,25.178,25.1189,24.2869,22.8491,23.8493,24.4257,25.5879,25.3478,25.3391,25.7163,25.3563,25.6753,25.5508,24.3781,23.6627,23.3993,23.9156,25.0619,25.9872,25.8444,25.7498,25.5448,25.7423,25.4517,25.2104,24.923,23.5394,23.2876,24.2654,25.5113,26.1809,26.0029,25.9198,26.1481,26.0212,26.0192,25.12,24.2829,23.7991,24.2484,25.1264,25.7505,26.1695,25.8871,25.8754,26.0441,26.1958,25.5572,25.1492,24.4024,22.9714,23.4198,24.4626,25.1977,25.9504,25.7197,26.2828,25.7316,25.8774,25.2616,25.197,24.3401,23.7487,24.3372,24.8116,25.6764,26.9505,26.7617,26.4589,26.7072,26.8819,26.4072,26.2811,24.7912,23.8738,24.4916,25.4066,25.7172,26.3697,26.0175,26.2946,26.1067,26.0443,25.8348,25.1187,23.9345,23.7212,23.7914,24.4096,25.5916,26.015,25.8869,26.1328,25.9065,25.7341,25.5243,25.2622,24.6355,24.0547,22.9562,24.7715,25.1845,26.5363,25.8937,25.9276,25.8022,26.1029,26.0353,25.8097,24.771,23.245,24.2418,25.1831,25.6916,26.3197,26.4455,26.039,25.9703,26.0612,26.2802,25.9732,25.1945,24.0269,24.3371,25.3269,25.689,26.9941,26.4679,26.3824,26.3988,26.4573,26.0458,25.709,24.7453,24.5994,23.9775,24.2107,25.5222,26.2036,26.2583,26.5912,26.1081,25.7854,25.9067,26.0214,24.3635,23.8823,23.6613,24.5159,26.1668,26.3803,26.4008,26.2449,26.665,26.4822,26.1665,25.9846,25.1517,24.5166,23.9213,25.4403,25.2846,26.8205,26.7675,25.9458,26.5366,26.275,26.1044,25.3955,24.0456,23.8359,24.3867,25.2383,25.6825,26.577,26.0827,26.471,26.4631,26.29,26.1623,25.9278,24.7602,24.2219,23.949,24.3313,26.2888,26.8244,26.2846,26.1926,25.541,25.7479,25.6103,25.177,24.0721,23.3609,24.2316,25.2559,25.5867,26.843,26.1698,26.0047,25.786,25.7919,26.0315,25.4516,24.7343,23.4664,24.185,25.1073,26.3294,26.5985,27.164,26.1718,26.5247,27.1162,26.8646,25.8815,25.0834,23.8137,24.1657,24.768,26.6081,26.642,26.1814,26.2464,25.9,25.9348,25.6607,25.6547,24.772,24.1581,24.358,25.2135,26.2502,26.2576,26.0925,26.1414,25.6388,25.8926,25.8586,25.9351,24.9448,24.4159,24.159,25.013,26.4278,27.1908,26.6045,26.5033,26.2797,26.421,26.4633,25.7173,25.0598,24.7923,24.2248,24.5482,26.1844,26.541,26.1609,26.3776,26.351,26.1318,25.9359,25.9241,25.013,24.5104,24.0321,25.2679,26.8389,26.9653,26.6748,26.3578,26.6425,26.3971,26.027,25.9741,25.2458,24.6914,24.7691,25.7966,27.3316,27.21,27.3725,27.1024";
var franceTemps = "3.2595,0.32148,4.82373,9.38568,12.6996,17.0993,20.1921,18.6189,15.6783,11.5785,5.41572,3.05315,3.84649,2.2686,7.17627,9.88717,11.4173,14.7611,18.187,17.5304,14.5977,11.2193,6.38815,2.62132,3.92742,3.53782,6.81747,7.63492,12.6275,14.5416,17.7461,17.2766,15.199,12.3041,6.27849,2.9523,2.31437,2.98803,5.36228,8.74766,13.1255,15.8005,18.9831,18.2612,15.0887,12.0102,6.50411,4.50538,0.49251,1.67878,8.09624,8.86479,11.6316,16.2748,18.8757,18.6397,15.832,8.77492,6.48747,4.14381,4.62217,3.58967,3.65772,9.36477,12.5427,15.7698,17.5585,18.9046,16.3932,12.0639,6.52767,3.49931,2.85468,1.87925,6.14968,6.83573,11.1121,15.0383,17.2057,18.0506,15.9581,11.6436,6.93504,5.46659,3.12445,4.23814,6.11319,8.27375,13.0891,15.8313,18.0121,17.235,16.0894,11.3603,6.46903,4.69595,2.11108,2.60979,4.73733,8.77515,12.2074,14.6303,16.9799,18.9629,15.1195,11.7171,6.63798,1.97094,3.18775,2.96925,9.09488,9.14823,11.224,16.0915,17.7502,17.2672,15.2395,12.5054,6.06934,4.38538,2.01092,3.89867,6.94857,8.28726,13.3661,17.0873,19.7402,19.6154,17.3687,11.7652,5.36935,5.33062,1.49133,4.15218,4.69857,9.22495,13.8385,15.276,18.1432,16.4947,13.4925,11.0935,6.55078,5.60922,3.69174,3.16767,6.11994,9.5234,12.9307,16.4679,17.6749,18.96,15.6278,10.8984,8.72556,4.94193,2.97927,3.52222,6.3347,10.0629,12.5374,16.0849,18.3169,18.35,15.7005,11.8378,7.22693,3.69837,2.76554,3.8436,3.7925,10.1011,12.9006,15.8801,17.1105,16.9497,15.3925,11.0642,6.61641,6.44699,2.38522,3.47294,5.74057,8.70291,12.9061,14.3263,18.8458,18.5005,15.0316,11.3859,6.84225,2.73992,1.28085,0.78934,4.48341,6.78986,13.0012,16.3487,18.8979,17.3076,16.0575,8.97772,7.81203,0.07769,0.92124,3.7171,7.72954,7.72075,13.9931,16.2386,18.1446,18.9778,14.8909,11.4535,5.97692,6.45911,4.77733,3.50527,5.72508,7.7897,12.6376,16.2911,17.5274,18.5129,16.7662,9.75875,4.70199,2.97056,3.94974,4.65784,6.92899,7.40079,13.255,15.9716,17.7822,16.9752,15.8459,11.9996,5.04603,3.95033,6.26361,4.91693,7.33507,8.87583,13.5474,17.0839,19.7697,18.436,16.9539,13.6672,5.14788,4.75396,3.19087,2.98035,6.08552,8.75182,14.072,16.4953,16.9372,18.0772,15.3313,11.0883,6.33885,4.03708,4.38699,5.01616,6.393,9.35833,12.5001,14.8829,19.1979,18.6954,15.6314,11.7995,6.42071,4.51236,2.28779,3.36298,5.37766,8.80855,13.0983,16.0435,17.8397,16.6564,15.0731,12.1936,7.18225,2.64635,3.46977,5.5284,5.70493,10.3357,12.6749,16.5773,18.1972,17.9836,15.5036,10.2627,5.74944,4.11642,4.52621,7.7509,7.11163,9.96634,12.3305,14.9996,18.2504,18.7563,16.7668,12.2718,7.45657,3.15636,4.29414,5.21816,6.93803,9.47439,13.0243,15.8764,18.2656,17.3798,15.8227,11.9358,6.52058,2.2065,4.6604,5.7809,7.07324,8.71688,12.293,15.4316,19.848,19.0074,15.6297,11.8699,7.42878,4.44062,0.16261,-0.1719,6.89718,8.64813,12.7031,16.2279,19.1118,18.3194,17.0175,11.7959,6.69721,6.01335,3.80356,5.30998,6.40485,10.214,12.313,17.1231,18.5197,18.4528,16.2384,11.8446,8.26829,4.59577,5.00585,4.9052,5.54223,9.03834,13.0798,17.886,18.5087,17.6403,14.5791,11.4371,8.0485,5.25569,4.20331,1.87641,4.86035,8.83192,12.4647,16.0678,18.2143,19.8252,16.7416,11.3021,6.2334,4.52049,3.94436,3.70891,7.42237,9.81073,12.8808,16.3862,19.2214,19.6615,17.0331,11.8701,6.08156,1.29256,4.1637,4.18723,6.28051,10.6899,14.6796,17.6462,20.2882,18.4321,16.3281,13.2118,6.96732,6.70215,2.81894,5.31715,7.10255,8.66532,10.81,16.3499,20.0601,18.4696,16.3075,11.0492,6.49921,4.49022,3.75119,0.44568,7.50418,8.47961,14.2658,16.5815,19.5762,19.2038,16.5961,10.3209,6.52147,4.28755,2.48267,4.68471,5.27672,9.19508,13.9888,16.7029,19.2517,19.7939,16.1912,11.8398,6.21389,3.58858,4.31936,3.40427,8.51052,8.58273,11.7754,16.5364,18.3706,18.7522,16.6787,12.8243,7.93923,4.11468,6.06366,2.91551,5.66555,9.76468,12.6764,16.2355,18.49,18.1292,16.4902,11.0384,7.97568,4.85522,-1.5921,3.65908,6.7503,9.32696,13.445,16.7208,18.1035,17.6801,16.1323,11.9613,6.68026,2.75378,1.82984,4.44407,6.86045,8.96035,12.0921,16.5092,19.0851,17.6285,15.7286,11.3217,6.98738,4.76603,1.37238,1.03366,6.98319,10.9464,12.8625,16.5246,18.5895,18.639,16.2887,13.1022,5.87693,3.90266,3.49014,5.47667,6.27934,11.1741,13.3648,16.4521,19.0349,19.0342,15.7256,12.4311,6.06783,4.10659,5.59421,4.18717,4.14701,9.94766,13.6644,16.1912,18.2552,19.4384,15.8817,11.4182,6.94517,3.58976,1.74375,6.00337,8.20413,10.2245,13.0363,16.0634,19.5183,18.3766,16.5359,12.2231,6.16292,3.19676,2.62396,6.16205,7.83549,11.1172,12.56,16.1343,19.2533,18.0548,16.3084,11.6637,6.60207,3.4279,2.00792,2.0798,5.67859,10.3804,13.6821,17.2932,20.0971,21.1652,17.607,13.0088,7.31115,4.4624,4.44725,3.92725,7.402,10.6662,13.7132,16.0006,17.4899,18.2422,16.0013,11.4684,6.68741,4.60642,2.99417,3.24993,5.70202,10.8119,12.6832,16.2451,19.5296,19.1134,17.1868,13.1006,7.85507,4.88684,1.18629,4.93993,6.1858,7.88758,13.3768,17.2693,18.8965,18.0604,15.3672,12.4867,6.51423,2.75325,3.97898,4.47485,4.8863,8.98372,11.8905,15.7291,18.3018,17.4988,16.1401,10.4774,7.63602,4.08757,2.61702,2.66968,7.53848,10.6931,14.0521,18.1929,19.768,19.0128,14.3187,11.0969,5.88019,3.62869,0.88041,3.06082,7.26175,9.35496,14.3167,15.9652,18.1679,18.7611,16.4571,12.5762,6.86029,6.58847,1.46842,3.75601,7.13954,8.65296,12.2809,16.1025,17.1872,17.5479,16.2726,12.2877,8.31368,5.63671,4.78545,3.21409,4.73495,10.2298,13.061,15.8566,19.1144,19.2609,15.8028,10.3695,5.71995,5.56899,3.45822,2.69958,6.49869,7.95928,13.8989,15.2849,17.746,16.7138,16.4561,10.7477,4.84448,4.74445,1.86053,6.4757,9.10832,9.26131,11.6464,16.3376,18.4656,17.5538,15.038,11.1241,6.43224,4.24199,4.03468,4.9106,4.86056,8.00328,13.9089,15.6968,17.8546,18.3613,17.2314,11.1846,6.74338,4.82156,2.94947,3.70882,7.79467,9.46637,13.7419,16.9583,19.4939,18.8946,16.7428,11.4629,5.82167,5.50143,3.09897,4.48378,6.1868,9.29559,13.958,17.0669,17.1122,17.5658,14.5926,11.3303,7.87415,3.62285,3.48327,6.74845,7.82951,10.9051,12.5247,16.4734,17.7079,17.7891,17.858,12.2328,6.21871,4.12352,4.23068,3.57619,4.21884,9.05116,12.0064,15.7744,17.6911,18.7317,15.3768,11.9811,5.28909,1.89091,-0.9171,0.91877,6.78829,9.76149,12.5495,16.076,18.6627,16.7779,15.5441,11.5974,8.7957,1.18181,1.89683,4.91477,5.16691,9.51807,14.486,16.778,19.7987,18.121,16.558,10.0381,6.94474,2.67076,3.34552,1.38543,5.67943,8.93267,12.913,16.0975,17.1242,17.0453,13.7866,12.1755,6.88051,5.56053,2.10151,6.85161,5.9847,9.84554,12.9799,16.7695,17.2838,17.0661,16.3126,12.513,5.30734,4.95308,3.22846,5.0499,7.46863,8.84195,12.3255,15.5392,19.4765,17.9491,15.1648,13.1551,6.78236,2.5378,3.06953,4.12857,6.84223,9.70667,11.6431,15.9337,17.952,17.3014,14.9635,13.1008,6.50659,2.94821,4.02346,2.27187,5.66321,9.30998,13.1299,14.8174,19.0712,18.1388,15.7586,12.0969,6.86647,1.86466,3.66865,4.52334,4.28263,7.59027,12.9512,17.5319,17.9451,18.5884,16.4452,11.0084,8.01378,2.56708,2.7256,3.56113,3.92904,10.3435,13.2383,15.0036,19.3535,18.5912,15.5857,11.9732,5.75596,4.32949,2.74676,4.95214,7.64321,8.72456,11.9154,14.7606,17.908,17.2259,13.7766,10.5355,6.93539,3.5686,2.50303,3.21311,6.02954,7.59224,13.3922,17.0162,18.2433,19.9858,16.4479,10.7099,6.7782,3.42306,5.05339,5.3182,7.26869,9.20454,12.3235,15.8336,18.1424,18.1521,14.4536,8.90508,7.32091,6.47255,5.94509,4.85412,5.02106,8.71879,11.9552,15.7165,18.9598,19.5391,15.7903,10.5232,6.49563,2.67447,3.74157,5.37699,6.01101,8.98285,13.5682,18.8571,19.9693,18.9054,14.8045,11.1735,5.84907,3.34467,3.38415,6.50409,8.33919,8.63032,12.5255,15.276,17.839,16.8048,15.1099,12.8281,6.83406,4.97924,2.39766,3.6258,6.97353,8.05763,12.2305,15.1832,17.4271,17.396,15.8058,11.4632,6.13088,4.94275,1.01678,3.32395,6.65789,8.23533,12.3185,16.3732,18.6007,17.1672,15.7886,12.4662,6.16766,5.37349,2.26547,5.78513,5.93218,8.45735,11.8585,15.1534,17.0469,18.7964,16.595,10.7482,5.63986,2.70772,3.455,3.06113,8.68325,10.3434,12.3375,16.1852,17.5968,18.5717,16.1249,11.1342,6.92433,4.11213,4.1668,4.53952,6.22278,8.92874,13.1846,17.2532,19.8975,18.0133,17.0147,11.3752,7.67893,4.81415,4.76166,2.89076,6.67405,8.59607,11.4516,17.0086,21.9088,19.6611,16.3264,11.8153,7.36251,2.92401,3.91156,3.76149,5.11835,9.11154,10.3728,15.9171,18.9734,18.6192,14.6228,11.5999,8.62004,4.14686,-1.183,3.45245,5.46011,9.94259,12.5525,15.1297,19.1874,17.4446,17.1428,12.2403,3.92176,4.37458,4.2363,0.37306,6.4152,7.0866,13.5934,17.0071,18.9823,17.8401,15.5615,12.8883,7.55678,4.86744,-0.1495,4.0035,5.36982,10.6602,11.6501,15.4538,18.5987,18.4799,17.4966,12.4059,7.20518,5.20614,5.62964,4.49725,6.41866,10.0396,13.8345,16.4209,17.9041,18.921,15.7396,12.5868,6.1861,5.60421,4.55936,4.13814,8.80875,8.42401,15.1652,16.6225,19.9996,19.3147,16.005,12.7322,6.91056,4.92121,4.70081,8.05335,8.43715,8.69975,14.9493,16.4095,19.4115,20.4602,16.2778,13.1724,7.3853,2.82056,3.79271,3.25842,9.80699,9.28827,11.745,15.6649,19.5862,20.2308,17.3224,10.3095,6.61863,3.83519,2.86646,4.74704,7.73348,8.74544,14.2111,15.289,18.624,19.3533,15.0238,9.43015,8.42315,4.62497,6.79904,4.09075,7.26753,9.8954,13.1786,17.0549,17.6285,17.363,14.62,10.8145,5.09762,6.96965,5.6909,5.20991,9.4685,9.34576,13.1178,16.0107,20.2297,19.3678,15.2058,11.4278,9.48142,6.04599,5.70829,7.86865,6.90016,9.22314,13.0063,16.0046,20.8111,19.7551,14.4735,14.9067,7.78758,5.22688,5.57361,4.52457,6.35525,10.3429,12.7439,16.8256,18.612,18.5243,14.2515,11.625,6.87514,4.49296,1.82744,8.06354,9.47835,9.5841,13.8168,16.6896,18.3564,20.656,17.4254,12.5881,8.55553,5.23336,5.69274,7.28009,8.7353,8.9526,15.2111,17.2541,18.9003,19.3486,15.6518,12.1472,5.2794,6.01455,5.24581,4.46752,7.93031,10.6051,14.671,16.5744,19.8655,19.3079,17.5763,12.2742,6.70426,5.0422,3.68603,6.97453,8.96338,10.4437,14.2112,17.5128,17.9799,20.0111,17.1089,11.907,8.95533,7.38893,7.29838,5.74049,8.71565,9.13559,14.8354,16.14,19.1359,19.4476,14.9433,14.6107,6.5939,2.74889,7.93868,7.04989,8.83248,10.4303,13.6215,18.3763,18.5682,17.4672,15.8963,12.3183,8.99762,6.63321,2.54922,4.04241,9.1588,10.9266,14.2049,20.0586,20.7132,20.4805,16.5682,10.7897,8.55684,7.12164,4.30575,5.35481,6.68662,9.89122,13.3344,17.3095,18.8244,19.366,16.8815,13.7048,8.36358,6.27024,7.85922,4.27848,8.36406,10.4676,14.8659,18.0369,19.16,18.0229,17.5872,14.876,7.99211,4.97711,5.31937,5.31757,8.18307,10.3924,14.4559,18.3416,21.1634,18.2583,17.8191,14.0357,11.3596,7.57946,9.17686,9.48632,9.21182,15.454,14.6125,17.3615,18.2424,18.3435,15.6256,12.3139,7.81477,6.28384,8.52066,9.19562,9.03135,10.0778,15.4933,16.4699,19.0882,18.5931,15.2339,11.9548,9.06277,6.73936,5.4113,6.50402,8.63723,11.2346,15.1431,17.1431,19.5858,20.3909,17.5771,13.5351,10.7017,7.04349,4.38637,5.5036,8.67713,12.2029,12.4792,16.8708,19.7211,18.0213,16.1628,12.2275,8.44124,4.63889,7.16701,8.35777,9.98443,13.6196,15.3942,17.0965,17.7868,18.9975,17.8569,13.7897,11.3512,9.11934,8.86305,4.15778,10.7741,10.0396,14.298,17.2097,18.4462,20.8303,16.8535,13.2328,9.75195,8.54998,6.18334,5.36257,7.26819,10.3465,12.2205,16.6194,21.6034,18.8845,16.4182,15.3908,8.18857,7.83741,8.64308,9.75553,9.7973,12.4499,13.6396,17.7311,18.4242,18.459,18.3783,14.5593,11.6305,7.22563,4.30245,3.69968,7.68931,10.9962,14.1204,18.3457,21.1148,19.753,16.1328,11.804,9.64959,7.69909";
var nigeriaTemps = "23.9749,26.8343,28.6221,29.6657,28.8563,27.348,25.8835,25.4,25.959,26.7771,25.9005,24.5461,24.4644,26.5676,28.8841,29.9478,28.9559,27.25,25.8835,25.5173,25.9482,26.6791,25.9005,24.6441,24.6323,26.985,29.1519,29.8581,28.9057,27.2404,25.8835,25.4258,25.959,26.7771,25.9005,24.6441,24.5624,26.8851,29.0168,29.8093,28.8706,27.3109,25.8835,25.2999,25.959,26.7771,25.9005,24.6441,23.9207,25.6613,28.4328,29.7128,29.0175,26.8832,25.919,25.2225,25.9945,26.6483,26.5403,25.2404,23.9202,26.9383,29.3405,31.2243,29.0195,27.7034,25.7547,25.2237,26.6821,27.1607,26.2841,25.3673,24.4865,26.0838,28.8218,29.7571,29.603,27.3191,26.0123,25.5069,26.1724,27.6281,25.9855,24.0043,24.309,26.4614,28.8649,30.1903,29.6636,27.6182,26.2243,24.9425,26.0878,26.6483,25.5169,24.2605,24.4774,27.4464,30.273,29.9754,28.727,26.7298,25.2872,24.7262,25.959,26.1373,26.0293,24.6441,23.9001,27.2181,28.7357,29.7119,29.1507,28.3943,26.3101,25.5483,26.3856,26.6921,25.9005,24.6441,24.2024,26.7854,29.2536,29.9579,28.9132,27.1312,25.8835,25.3292,25.939,26.7354,26.1989,24.3033,24.8086,26.958,29.1032,30.5994,29.3015,27.7467,26.3518,25.8719,26.5082,26.8126,25.6871,24.6086,24.6785,26.9361,28.0426,29.5834,29.3664,28.2245,26.8199,26.457,27.1056,26.7489,25.7655,24.5636,25.8272,26.6988,28.7553,29.8215,29.7987,28.2236,26.6957,25.6788,26.5553,27.2871,27.1325,24.8576,24.4304,26.8724,29.1936,29.8184,28.9296,27.2639,25.8874,25.3962,25.9207,26.707,25.843,24.5674,24.4176,26.8138,29.1196,29.7971,28.8599,27.2778,25.8943,25.3195,25.8532,26.6627,25.7451,24.6441,24.5624,26.9781,29.0199,29.8083,28.8293,27.2675,25.8835,25.4,25.8648,26.6761,25.7013,24.6059,24.4923,26.7628,28.9526,29.8184,28.8563,27.348,25.8835,25.2856,25.8532,26.7265,25.8304,24.6441,24.5624,26.9781,29.1519,29.8951,28.9404,27.348,25.8835,25.4,25.959,26.7771,25.9005,24.6441,24.5624,26.9781,29.1519,29.8951,28.9404,27.348,25.8835,25.4,25.959,26.7771,25.9005,24.6441,24.5624,26.9781,29.1519,29.8951,28.9404,27.348,25.8835,25.4,25.959,26.7771,25.9005,24.6441,24.5624,26.9781,29.1519,29.8951,28.9404,27.348,25.8835,25.2943,25.8326,26.6966,25.8345,24.5888,25.8261,26.5838,29.5524,29.6352,29.0053,27.4735,25.2678,24.4599,25.9681,27.1502,26.5138,25.546,24.7622,28.6198,30.3578,30.2814,29.3225,27.3425,24.9072,24.3876,24.6181,26.5897,25.6226,24.2342,21.8958,25.6366,29.3579,29.7211,28.4033,26.6063,25.6049,24.5,25.6981,26.1289,26.417,24.6503,25.171,26.8262,28.5659,28.9639,28.4604,26.9531,26.1209,26.2262,27.3381,27.6843,26.9214,25.7241,24.6434,27.5169,28.7064,29.5415,29.5084,27.477,25.6998,24.5728,26.7725,26.8902,26.417,25.78,24.8786,25.5667,29.4791,29.2223,28.1826,26.69,25.8744,24.0769,26.0742,26.776,26.1524,24.1663,23.7298,26.777,28.6295,29.0427,28.982,26.3425,24.9947,23.9716,25.1451,26.1999,25.7482,22.6819,24.1974,28.0231,29.0152,29.9409,29.0003,27.2129,25.8478,25.6709,26.5445,27.2045,27.3063,27.1386,25.3391,28.2829,29.8103,31.5405,29.6328,27.4707,26.2284,25.5618,25.5578,27.7629,27.3437,26.6443,24.5726,27.9102,30.8386,31.199,29.4312,27.5103,25.772,25.951,26.2577,27.792,27.4458,25.704,25.7952,27.6265,29.5599,30.6063,28.5028,26.8134,25.6582,25.1199,26.1628,26.5154,27.6391,25.6607,24.7488,26.9395,29.8744,30.674,29.1034,27.4653,26.0728,25.1221,26.4798,27.9626,28.02,25.6615,26.1308,28.2732,31.3248,30.6707,29.6425,26.7626,26.0833,25.0138,25.8817,26.52,27.0592,25.7344,24.133,27.9515,31.3234,29.9292,28.7792,26.9888,24.9282,24.0552,25.2258,26.9301,27.0292,24.4598,24.4589,27.2747,30.1793,30.2268,29.3577,28.0944,26.0132,25.3739,26.3666,28.4196,27.3111,26.0543,25.4286,27.927,29.3287,31.3084,30.669,28.7768,26.4719,25.1971,26.3122,27.6805,28.2723,27.1206,25.8286,28.2418,30.6141,28.8726,29.1854,27.6247,26.3696,25.5987,25.9473,27.5672,26.8303,26.4472,24.5624,26.9781,29.1519,29.8951,28.9404,27.348,25.8835,25.4,25.959,26.7771,25.9005,24.6441,27.1329,27.4873,30.8897,31.4261,30.3511,28.1205,26.0045,26.0052,26.8237,27.826,27.0716,25.8111,26.2133,28.9254,29.7189,30.5739,28.685,28.3624,26.328,24.7899,26.9113,27.6485,27.0895,25.6749,25.1854,27.2225,29.2698,29.6935,28.1874,26.9819,25.8471,24.877,25.4908,27.1323,27.6365,25.9414,23.6854,26.7544,29.3597,29.4785,29.1288,27.9778,26.5237,24.9496,26.0659,27.3432,26.3971,26.0752,26.1666,25.8133,28.2461,29.4656,28.4735,28.0027,26.2473,24.4381,26.0665,26.8107,26.3399,23.9678,26.0225,26.7594,29.604,30.4732,29.0491,26.8061,25.3486,24.3638,25.1103,26.0278,26.6792,24.7625,24.7195,29.6825,28.7103,29.9556,29.2881,27.6244,25.8714,25.3611,25.8609,27.1086,25.7308,25.3699,24.5297,27.1112,27.8016,29.4925,28.6053,26.3864,25.5882,24.9145,26.0937,26.6708,25.6603,24.422,25.0729,26.6158,29.9414,30.1514,29.3448,27.9022,26.2325,25.1745,26.5255,27.431,26.8529,23.6096,25.4232,25.7241,28.068,29.5173,28.9208,28.1458,25.1536,24.1182,25.2969,26.2624,25.5534,25.0286,24.8434,26.474,29.3438,29.3394,28.6312,27.706,25.8924,25.2561,25.3422,26.7311,25.4185,24.0623,25.2342,26.3808,28.5668,29.9033,28.9263,27.5245,25.6811,24.4105,24.962,26.0304,25.2461,24.5916,25.1644,27.4064,29.3687,28.7958,27.7072,26.4182,24.9024,24.7327,25.8224,26.4904,25.6139,23.7979,24.8996,27.7769,29.266,30.0091,27.8846,26.7893,25.0732,23.9411,25.4721,26.1317,26.3413,24.9136,24.7651,27.0515,28.9519,29.3358,28.3408,26.427,25.2662,24.7371,25.1414,26.1873,25.3638,24.1149,24.0055,27.955,29.6697,29.3269,28.5714,27.0636,25.0042,24.018,25.2108,25.6883,25.9151,24.3659,23.8454,25.7083,28.1612,29.6353,28.1373,26.7652,25.3456,25.2824,25.6229,26.4648,26.6894,25.6238,25.8462,26.1443,29.39,30.3432,28.6914,26.7031,24.9188,24.961,25.6066,26.4434,26.6346,25.6824,24.9287,26.6248,29.3198,30.0081,28.6088,27.5694,26.2265,24.7192,25.4627,26.7061,25.8712,24.8521,24.7051,26.9555,28.9366,29.7373,28.4763,27.3664,25.3112,25.7926,25.8438,26.8646,25.5161,26.5636,25.1385,25.393,27.957,29.6756,28.8035,27.2602,24.988,25.8173,25.5096,26.6024,25.1206,23.1716,23.8449,27.0092,29.4149,29.7974,28.552,26.6251,25.7337,24.697,25.6273,26.8438,26.9158,25.6484,25.401,28.7032,28.2505,29.6565,29.0584,27.8543,26.1285,25.5588,26.6642,26.8294,25.4665,25.2502,25.1353,26.5543,29.5209,30.4151,28.7219,26.8256,25.4461,24.2722,25.2969,26.275,25.2394,24.8765,25.4769,27.0371,28.387,29.3387,28.8528,26.8187,25.8665,24.9124,25.9561,26.5892,25.2019,24.2751,25.1162,26.1277,28.9823,29.6621,28.3417,26.8975,26.7508,25.5625,25.5409,26.4486,25.7681,24.6536,23.6243,27.2005,28.4765,30.019,28.7013,27.0833,25.604,24.9176,25.2287,25.9253,25.1673,25.6602,24.0427,26.8003,28.8752,28.8942,28.0763,26.5309,25.4498,26.3077,26.3716,27.1585,25.9394,25.5407,24.5385,28.1381,30.2692,30.7799,29.3134,27.7498,25.9105,25.7201,25.9585,26.8971,25.8252,25.8872,25.5738,26.8398,28.8413,30.2041,29.0254,27.89,26.0843,25.3907,25.6463,26.4257,25.9313,24.1705,23.7272,26.9182,29.9036,29.3945,28.751,27.2241,25.6935,24.3989,25.1439,26.0711,25.2647,24.0656,24.7371,27.2586,29.3264,29.3985,28.6242,26.399,26.6462,26.5296,26.4808,27.0952,25.1607,25.0325,25.78,28.2473,29.2346,30.2198,29.0645,27.9586,26.7527,25.5203,26.1853,26.9979,25.0205,25.2741,23.9703,26.352,28.9828,29.886,28.3892,27.5204,25.0665,24.9239,25.0729,26.0853,25.3499,23.1796,22.9548,26.2934,28.8647,29.5631,28.4295,26.9326,25.2551,24.4331,25.184,26.1394,25.9174,24.1573,24.2512,26.8351,28.3991,29.307,28.3702,26.5414,25.4906,24.8265,25.5821,26.3973,25.4428,24.822,24.8406,26.21,28.379,29.8948,29.1519,27.2802,26.0602,24.6199,25.8274,26.4061,25.1733,23.6219,24.5329,27.4355,29.0971,29.2009,28.6475,26.5691,24.852,25.1056,25.5943,26.6162,25.445,24.7808,25.3324,27.4823,29.7698,29.5067,28.7702,26.7853,25.8073,25.2508,26.1504,27.1582,26.8649,23.8905,25.6741,27.2341,29.2353,30.1625,28.9153,27.0198,25.5164,25.1038,26.4004,26.9615,26.3413,23.4929,23.188,27.1579,29.4486,30.1471,28.8815,27.4851,25.2954,25.7017,26.2193,26.9606,25.3069,25.057,24.9811,26.3617,29.0766,30.465,29.3702,27.6444,25.9293,25.0923,26.2468,26.986,25.0229,24.7606,22.2918,27.8762,28.4554,30.7102,30.1496,27.6398,26.3259,25.9982,26.3845,27.2306,26.1558,25.0934,24.2794,27.0868,29.7627,30.3412,29.1874,27.6972,26.3678,26.9311,26.5295,27.4476,26.3486,23.9184,26.0774,26.2707,29.9377,29.1242,29.1408,27.6686,25.7343,25.6119,26.1362,27.3504,26.5669,23.9339,24.3833,28.2561,29.738,30.9085,29.4196,27.8028,25.208,25.3194,25.8408,26.8929,26.2885,23.6918,25.3335,27.9166,29.4208,29.6957,29.9552,28.1832,27.5114,26.4694,26.9797,27.4024,26.8187,25.1149,24.9488,27.4104,29.9123,30.5793,29.7317,27.9555,25.8724,24.9563,25.8679,26.9195,26.2723,24.0105,22.8979,25.3099,28.3513,29.4798,28.8662,27.7548,25.9108,25.5726,26.1302,26.4934,26.3464,24.4465,25.8988,26.0576,28.2712,30.5655,29.2859,28.4431,25.7554,25.9211,26.6121,27.4234,27.3305,26.5749,24.8543,28.6178,29.3885,30.1904,27.7336,27.5203,25.7084,25.1858,26.7176,26.6561,25.9018,24.5467,23.8053,26.2451,29.7608,30.2265,28.5195,27.2332,25.3853,24.7836,25.6251,26.5467,25.463,24.5623,23.4309,26.6646,29.2289,29.9883,29.4174,27.7,26.0987,25.4511,26.0431,27.5346,27.1177,24.7621,24.6346,26.5896,29.9667,30.2273,29.3028,27.3788,25.5564,24.6358,25.4589,26.7681,25.9246,23.4845,24.0455,25.7855,29.7504,30.1614,29.134,27.5941,27.2122,25.6431,26.0379,27.1694,25.7477,25.5909,25.9023,28.2856,30.1648,29.743,28.7761,26.799,26.6398,25.3041,25.7114,26.7522,25.1075,24.9242,25.4432,25.318,28.8423,29.4383,28.276,27.3517,26.0235,25.7633,26.9954,27.8386,27.2887,24.8832,25.0129,28.2701,29.3572,31.4142,30.0704,28.1654,27.3681,25.7949,25.952,27.4734,27.1857,25.5322,25.3643,27.9331,30.45,30.0933,28.8983,27.9076,25.8031,24.8734,25.4602,26.0793,26.8005,26.7329,24.6828,25.4991,28.7886,30.363,29.8086,27.456,25.9919,25.73,25.9278,26.6015,26.5275,24.4234,24.3689,26.3133,29.2764,30.3685,29.0643,27.409,26.2646,25.0302,25.5715,26.5948,27.6437,25.9199,23.9141,26.8108,29.5088,30.4944,30.1393,27.8177,26.5706,25.9234,26.0573,27.0618,26.8058,25.258,25.4455,29.0968,29.2434,30.5848,29.323,26.9678,26.4141,25.4935,26.0126,27.825,27.0302,24.849,25.4628,27.0079,29.1454,30.5078,29.0708,27.6145,25.9059,26.03,26.6948,27.7928,26.8845,25.9441,24.7195,27.9801,30.9626,30.8618,29.3356,27.1794,26.0486,25.6236,26.7159,27.1724,26.7117,26.2045,25.9434,28.6335,29.9307,30.2,29.2359,28.5299,26.9418,26.1187,26.0138,27.2739,25.9356,24.2445,24.2041,27.9346,30.1332,30.9798,29.5965,27.6226,26.626,26.0823,26.1084,27.6857,27.2545,25.6844,23.3886,26.5312,29.7711,29.8854,29.115,27.7409,25.9486,25.6591,26.4968,27.3891,26.5886,26.1499,25.8083,28.669,29.9647,30.8166,29.9732,28.1607,26.733,26.368,26.7979,27.7508,26.6612,26.1421,26.3643,28.3798,30.0981,31.5659,30.0476,28.5117,26.5114,25.7974,25.8051,27.7666,27.6558,25.482,24.9058,28.6944,30.2276,30.3848,29.6599,27.8208,26.9537,25.8235,26.3643,27.2861,26.1624,24.7615,25.3778,28.497,29.3285,31.1647,29.0536,27.063,25.809,25.1801,26.1531,26.514,27.7014,25.3634,25.0782,27.0755,31.3224,29.8361,29.6783,27.9893,26.4403,24.9921,26.1589,26.975,27.1624,25.8974,26.0952,27.4955,30.0554,30.8739,28.9869,28.6973,26.9967,25.3629,26.2153,27.46,26.9662,25.1208,24.1771,28.1564,30.0905,29.9188,30.0922,28.1705,27.156,25.8361,26.1659,27.7909,26.8572,23.8596";
var southkoreaTemps = "-1.8475,-3.5305,3.29562,10.4067,14.8067,19.5847,21.575,23.8409,18.9016,13.1028,5.54253,-2.6761,-2.8955,-1.276,4.80196,9.60208,14.5759,18.788,22.1462,22.2031,18.2677,13.6134,8.02644,1.3746,-1.9893,-0.3326,4.7596,10.7805,14.8342,19.3736,22.1592,24.454,20.0908,12.2257,4.86156,-1.9347,-4.704,-0.7364,3.05267,10.1567,14.7258,20.9102,23.4673,24.2585,18.8043,11.7182,5.01091,-0.4165,0.08797,-2.7767,3.585,8.52879,14.0507,19.17,23.0907,21.9373,18.1799,12.5416,4.96588,0.8408,-4.3137,-3.185,2.40306,9.28437,14.5423,19.6063,23.1005,23.3203,18.1309,12.4023,3.24437,-1.6309,-1.3244,-3.5702,2.86919,9.81313,14.4711,18.9284,22.5312,24.1841,18.8703,12.7764,4.92211,-3.2571,-3.2046,-3.5286,2.73351,9.06266,13.8188,19.2195,21.9266,23.2106,17.9397,12.5362,3.30886,-0.6738,-2.8263,-2.9372,1.59844,9.4547,14.1131,19.2585,23.3885,23.6579,19.1799,11.5412,4.92764,-2.8615,-2.524,-3.6521,2.10148,8.76587,14.6622,18.8256,21.7606,22.9077,17.6163,12.4327,4.96926,-4.1925,-4.5581,-1.3317,3.21445,8.52883,14.3401,18.8745,22.0348,23.4001,19.7647,11.032,5.77969,-2.9429,-4.3248,0.56146,3.70982,9.3323,13.5628,19.2592,22.6358,23.6031,17.261,10.6085,1.60685,-2.7923,-5.0257,-3.56,1.47237,9.67577,13.1452,18.6388,21.3405,22.3742,17.8251,11.8031,4.58873,-2.0082,-2.55,-0.8006,4.56654,8.86873,15.2358,19.5088,25.1095,23.9927,19.2794,12.723,5.44114,-1.1894,-4.544,-2.577,0.65748,8.31537,13.6103,19.6464,23.8916,23.4239,18.0055,13.6029,5.867,0.14088,-1.0101,-1.5193,0.16933,9.06125,13.6891,19.0821,21.8931,23.421,18.7093,11.5571,6.02392,-1.4583,-7.8235,-3.5125,1.69838,9.06718,12.913,19.1627,24.2465,23.1677,18.7859,12.1603,2.63425,-4.8549,-6.7714,-0.8212,3.65054,9.30439,13.2701,19.0179,21.9294,22.829,17.5932,11.5793,4.26959,-1.4646,-4.6169,-1.8455,4.32967,9.63367,14.4209,19.6902,23.4677,23.5735,17.9214,11.763,5.17813,-2.6048,-5.0158,-3.2232,3.86004,9.60313,14.7735,19.9164,24.1004,23.3398,19.5168,13.1815,6.62633,-1.105,-2.5584,-1.5917,2.22751,9.50902,14.2914,18.206,22.528,23.9126,18.1063,11.2602,3.20376,-0.9183,-6.648,0.15721,2.71954,11.1029,14.4055,20.4278,23.3543,24.7758,19.441,12.4388,3.62772,-2.879,-5.6948,-3.4164,4.27506,8.55491,14.8335,18.9802,22.3174,24.9159,18.288,11.5994,4.30099,-1.951,-2.996,-2.2664,0.47847,9.98083,14.1069,19.2268,24.9088,24.4915,18.4072,11.7174,3.07194,-1.8694,-4.0611,-3.2647,1.80991,8.65063,14.5032,19.1805,22.1609,23.6589,18.3039,11.8482,6.41527,-1.6689,-4.2382,-2.7937,2.90835,8.24583,14.5197,18.9804,22.9402,24.3263,18.8338,10.3792,5.62156,-3.5874,-4.1226,-3.206,2.70034,10.0237,12.8975,19.7232,24.6753,23.3191,17.8243,11.7795,6.82839,-1.5062,-4.5573,-2.778,3.28023,10.3452,15.5479,19.567,23.0409,23.4715,18.9443,11.3007,4.38288,-1.9122,-4.8063,-3.4075,3.23582,9.05925,14.6995,20.8934,24.7861,24.6839,17.3286,11.7346,4.23528,0.9559,-4.6801,0.22542,5.35994,10.484,15.0569,19.4018,24.5543,24.2681,17.7198,12.7547,2.98147,-1.14,-3.501,-2.8789,3.9855,7.81422,14.214,19.6143,20.5666,23.6093,18.0186,10.8989,6.86325,-0.7525,-1.0176,-2.0599,2.02399,8.63441,14.9872,19.2909,24.7849,23.4317,17.6593,11.0786,4.96516,0.07147,-6.2806,-3.4877,0.94224,9.39893,15.2379,19.9422,24.5153,23.0878,18.4708,11.9561,5.16108,0.50821,-7.0401,-2.1947,2.10582,8.56546,15.6482,19.8149,22.9786,23.2406,17.8599,10.5068,4.08019,0.70089,-3.0612,-0.4781,4.95965,9.96403,15.0771,19.4257,23.0601,23.9012,18.4014,13.2266,5.78558,-3.2892,-7.6222,-3.9343,-0.023,8.54944,14.6141,19.9186,22.6304,21.7667,18.8949,12.2586,5.34844,-0.1125,-3.2017,-0.241,3.36271,9.60262,14.9525,19.4961,23.6447,25.2102,19.1465,12.5401,6.53524,-2.6946,-5.7756,-3.2332,4.44372,10.6434,15.6331,18.6564,23.9799,24.7969,18.046,13.6413,4.51995,-1.6871,-4.4612,-1.8027,3.63058,10.3792,14.5964,20.0889,25.9336,24.8899,19.287,13.1672,5.4423,-0.6813,-6.0895,-2.2788,3.44645,8.84223,15.24,19.3964,23.4805,22.7854,17.9042,13.0599,6.15452,0.20285,-2.8282,-1.8201,4.08397,9.31054,15.4849,19.6429,21.5367,22.5453,17.5209,11.6192,6.86707,0.48239,-5.1381,-3.2108,5.47632,9.54947,13.8521,20.6909,26.015,24.1167,18.9074,11.6713,4.66151,-1.1078,-5.7573,-1.866,4.53442,9.4546,15.4491,20.0565,23.7785,25.4114,19.2878,12.7919,5.47271,0.17422,-3.4786,-2.3336,3.20945,8.86638,14.9717,20.6279,24.4496,24.3036,19.4531,12.2689,7.07141,-4.571,-6.8375,-4.4656,2.49342,10.4588,12.9636,19.3429,21.9884,24.3237,19.5163,12.2479,7.33431,-1.3702,-2.3022,-0.7893,2.45906,10.2146,14.5583,20.2944,24.5576,24.3454,18.7216,12.5532,7.90141,-3.3487,-3.2798,-4.7046,1.81315,9.92316,14.2643,17.6225,22.4041,24.17,18.3182,10.7023,3.57196,-4.1604,-3.6776,-0.9744,3.71652,11.266,15.1056,19.9367,23.0343,24.07,18.7232,12.7131,5.20113,3.38144,-2.4773,0.89549,3.05177,8.906,15.472,18.5368,22.6685,24.4685,19.3258,12.6635,6.06865,-0.817,-1.1954,-0.6703,3.99793,11.2812,15.8521,19.3757,24.3716,24.4142,18.5843,12.7744,5.47679,-1.1949,-2.9083,-0.5005,2.88638,9.25735,15.8046,19.6527,23.219,25.4573,18.0846,13.6423,6.13399,1.57276,-2.9583,-2.9828,2.79965,10.3276,15.7649,20.3769,23.6479,23.4296,18.3697,11.7491,6.9927,-1.9742,-4.7349,-2.1054,4.30017,9.35515,15.0237,18.9679,23.6943,24.1307,19.0604,14.1702,4.87233,0.8968,-1.5056,0.24545,3.38063,10.4914,15.032,17.7921,20.6983,24.3708,19.2017,11.3776,8.6382,-1.5019,-4.82,0.32705,4.26045,10.3442,14.7431,20.5727,24.0111,23.9978,19.1183,11.5394,5.24128,0.97819,-3.3994,-2.8491,3.05606,9.23976,14.3283,18.7708,22.9538,22.7076,18.6469,11.9932,3.22039,-4.0638,-2.6837,-3.6232,0.70278,9.81539,15.4314,18.709,21.756,22.3539,17.1154,11.8328,7.27646,-0.1102,-4.877,-0.5138,3.82416,10.0182,14.905,20.62,24.0326,22.2719,18.4276,11.4337,6.10495,3.12027,-4.5312,1.86922,5.71431,9.89197,16.2288,19.5186,23.7073,24.3311,19.4263,13.652,5.73062,0.67723,-3.2571,1.38274,6.03623,9.59283,14.8502,19.92,24.1657,24.7915,19.2078,13.1782,6.4353,-1.7022,-4.6985,-0.9857,4.8674,10.8567,15.7695,20.2668,25.2197,24.8924,20.0512,14.1293,7.62553,-0.5129,-3.5658,-0.5909,3.21858,9.29127,16.1648,19.5116,23.8416,23.7848,18.6637,12.054,5.07512,0.83272,-7.8472,-2.4832,4.25065,9.5435,15.3925,18.6565,23.3556,23.8358,18.6623,12.1645,5.97717,0.74773,-1.0382,-3.5479,3.39449,11.785,16.3217,19.8706,24.2003,25.1397,19.2026,12.5504,5.66232,0.29652,-4.1863,-1.6473,2.45495,8.83058,15.7085,20.2466,22.4986,23.5792,18.9364,13.2712,6.56041,-1.7268,-3.9788,0.05859,4.31378,9.96223,15.9108,19.2459,22.9981,25.1928,17.934,13.0237,5.36364,-1.8773,-4.496,-2.2488,4.43118,10.2552,17.2246,20.3021,23.904,25.8681,18.8692,12.8485,5.42065,-4.3835,-3.7698,-4.4584,3.95536,10.8794,14.8537,19.7375,23.4394,23.1155,18.9142,11.4329,6.44844,2.44979,-3.6124,-2.6134,2.14711,9.83892,15.1424,19.22,22.8853,23.8138,18.9656,12.0215,4.32458,-2.2163,-4.8812,-0.482,0.4072,9.94806,15.8808,18.8617,22.3666,24.1302,19.5246,13.1444,5.03072,-1.3061,-3.5106,-1.5842,2.1136,10.0763,15.3569,19.8582,23.7629,22.9534,18.6555,11.4707,6.93253,-1.136,-0.219,-1.2755,4.14423,10.0772,14.4256,20.1467,23.7263,22.4464,17.6387,12.527,4.73065,-0.6964,-0.9191,0.12957,3.74228,11.4403,15.3532,19.6836,25.6135,25.1941,18.6203,11.7396,4.3545,-2.9712,-3.3586,-2.4064,2.87738,9.96776,15.2425,18.8176,20.9093,23.7082,18.8179,11.9746,4.66047,-1.0888,-3.0384,-1.6196,3.59656,10.952,14.6922,19.5872,23.7584,25.0899,20.9273,13.5682,7.44997,-1.4054,-3.9894,1.65908,4.00538,9.90996,14.9392,19.4813,21.8741,22.9052,17.9222,12.3793,3.25876,-0.6272,-6.7496,-2.6895,4.4413,11.0277,15.549,19.6268,24.751,22.5768,19.7583,14.9736,6.26441,1.75238,-2.4522,-2.4938,3.57883,10.917,16.5562,20.6576,25.5175,24.7753,19.1768,12.9333,6.74978,0.8766,-0.1721,0.74507,5.03092,9.69323,14.9338,20.466,22.9853,23.8253,18.3503,14.0906,5.10812,0.87102,-3.0708,-2.8649,4.17424,9.14321,15.5584,20.9136,21.4308,20.7139,17.8595,11.6565,7.29416,-3.3221,-6.1803,-2.0219,3.8008,10.7414,14.8403,19.8275,24.5461,23.1038,18.1616,11.8541,3.06877,-0.5981,-3.7846,-0.6101,4.98137,10.551,16.4866,20.2858,23.0902,24.0445,18.6563,13.8991,7.02915,-0.607,-2.3242,-2.3258,4.56388,11.7802,16.0827,19.8711,22.5756,24.4321,20.1691,12.9585,5.49223,-1.5037,-5.5743,-3.7671,1.93638,9.69017,15.6529,20.6707,23.6618,25.2582,18.7553,12.3747,6.94683,-1.0436,-5.3579,-0.6436,3.65445,10.4352,16.0593,19.7227,24.3522,25.0376,19.4771,13.5037,5.22083,-2.9968,-4.8723,-3.4006,3.81454,10.7565,15.3301,19.5858,21.6711,23.4381,18.0312,11.1407,4.92119,1.40893,-2.8155,-0.1474,3.48773,10.113,15.5988,20.3278,22.9679,22.9825,18.1279,14.1546,6.41019,0.45266,-1.9964,-2.0058,3.13983,10.4343,15.6238,20.3363,22.7953,24.2129,19.2901,13.5675,4.97544,-0.1919,-0.43,1.27679,4.86266,12.4368,16.0376,19.2724,22.8093,23.4273,19.0269,12.524,6.1102,1.10401,-3.4741,1.73627,6.08436,10.0103,15.0984,20.1563,23.9901,25.3306,19.6102,13.602,8.87437,0.36149,-2.6273,-1.5728,4.01231,10.9342,15.234,21.2012,23.1832,22.5517,19.4102,12.6379,5.72433,1.61136,-0.7296,0.01942,5.6167,10.9771,14.6327,19.4741,24.2988,23.0181,19.2704,12.2245,5.56727,0.9446,-2.5025,0.50957,4.43894,9.91206,15.4886,19.5821,21.1263,21.2068,19.1322,12.0969,7.19953,-0.483,-1.9462,-0.3784,3.15678,12.6097,16.1922,20.6427,26.9825,26.296,19.9138,13.6785,8.33229,1.04193,-2.5462,0.40295,4.88637,10.3759,15.1984,19.4317,23.7761,25.3704,18.424,13.8984,5.47194,-1.4497,-2.471,-2.0155,3.67682,9.35061,15.8512,20.0198,23.3708,24.203,19.8116,13.2163,5.52833,0.70918,-3.1495,0.15558,5.74889,11.3656,15.617,21.5665,24.3951,24.6568,18.6796,12.5722,7.54917,0.90909,-2.0682,2.13697,6.37268,13.3379,16.9246,19.7063,23.456,24.0522,20.9454,15.2764,6.58051,1.79766,-1.3194,0.32093,5.35373,11.6002,16.1194,21.2255,23.4854,23.6102,20.8832,13.0482,6.68318,0.05165,-2.2749,-1.9869,5.38374,10.6268,15.7068,21.1661,25.2268,24.6456,18.6711,13.374,5.94624,0.57328,-3.8878,-0.3922,4.59851,11.953,17.0163,20.956,25.0792,24.5734,20.1038,14.6565,6.12143,-0.7887,-0.5353,1.81381,6.99541,12.1557,15.6977,20.7163,23.5979,22.7755,19.1751,11.9338,3.4173,0.66426,-3.1876,1.13132,4.90888,11.5421,16.0002,20.3507,21.5799,22.8412,19.5352,12.5805,8.23813,0.29592,-2.3149,1.64692,5.40363,11.892,16.0021,21.1737,24.2663,24.0209,19.7062,13.3014,7.83088,1.43946,-3.2921,-2.5636,3.15485,11.7088,15.4519,21.6183,24.0728,24.1415,20.1625,13.308,7.31061,-4.0308,-1.3468,-0.6003,4.42105,9.83268,15.5579,20.1086,22.159,25.5454,18.7802,15.6796,7.22199,0.56894,-0.5504,2.81904,5.24944,10.3361,16.187,20.7777,22.5557,25.0812,19.6258,13.5342,5.85743,1.11216,-2.0881,-1.6791,5.75884,11.7713,15.8485,19.3785,24.761,23.4145,20.1226,14.5702,6.58917,0.53524,-2.5515,2.50222,5.31335,11.2921,16.8986,20.9177,22.6534,23.4573,19.6529,14.3701,5.89748,-0.7949,-3.5408,0.64341,3.71181,8.55361,15.4561,21.4026,24.5113,25.4531,20.4274,13.2119,5.85822,-0.9031,-6.6146,0.5301,3.27888,9.85511,15.4088,20.7548,23.8122,24.0096,19.9207,12.8802,9.04843,-1.2128,-3.0032,-2.3068,4.19244,11.2424,16.8981,21.2168,24.4687,25.2064,19.0964,13.5002,4.82711,-3.5562,-3.604,-1.1146,5.14076,9.10696,16.236,21.5583,25.3679,26.3478,20.0722,14.1978,5.55821,-0.3882,-1.2001,0.57271,6.2651,12.0531,17.0927,20.9271,24.4445,22.9127,19.8622,13.8153,7.52854,-2.5601,-1.3973,0.4066,5.16993,11.2411,17.1693,20.7917,23.6245,24.4638,19.7072,13.8505,7.95877,1.64264";
var monthOfYear = 12; //hardcoding to use December
var yearCounter = 0;
var tempRunningTotal = 0;
var tempAverage = 0;
//Build the array of the country's temperatures
var temperatureArray = usaTemps.split(",").map(val => Number(val));
var decemberTemperatureArray = [];
//Loop through the temperatures and find December average (hardcoding for December)
for (var i = monthOfYear - 1; i < temperatureArray.length; i += 12) //start at monthOfYear-1 to compensate for the array starting with 0
{
decemberTemperatureArray.push([yearCounter, temperatureArray[i]]);
tempRunningTotal += temperatureArray[i];
yearCounter++;
}
tempAverage = tempRunningTotal / yearCounter;
const regressionResult = regression.linear(decemberTemperatureArray);
var regressionTemp = regressionResult.equation[1] + yearCounter * regressionResult.equation[0];
var timeUsed = process.hrtime(timeStart);
//timeUsed[0] holds the number of seconds, and timeUsed[1] has the number of nanoseconds
var timeInMilliseconds = timeUsed[0] * 1000 + timeUsed[1] / 1000000;
returnable = "Temperature result:" + tempAverage.toFixed(2) + ";Regression prediction:" + regressionTemp.toFixed(2) + "; Internal calculation time(milliseconds):" + timeInMilliseconds + ";";
return returnable;
}