     //if(seconds_2m % 10 == 0) displayArrays(); //For testing
 
     //Check to see if this is a gust for the minute
-    if(currentSpeed > windgust_10m[minutes_10m])
-    {
-      windgust_10m[minutes_10m] = currentSpeed;
-      windgustdirection_10m[minutes_10m] = currentDirection;
-    }
+//    if(currentSpeed > windgust_10m[minutes_10m])
+//    {
+//      windgust_10m[minutes_10m] = currentSpeed;
+//      windgustdirection_10m[minutes_10m] = currentDirection;
+//    }
 
     //Check to see if this is a gust for the day
-    if(currentSpeed > windgustms)
-    {
-      windgustms = currentSpeed;
-      windgustdir = currentDirection;
-    }
+//    if(currentSpeed > windgustms)
+//    {
+//      windgustms = currentSpeed;
+//      windgustdir = currentDirection;
+//    }
     //Minute loop
     seconds += 10; 
     if(seconds > 59)

  
  //Serial.print(",windgustms=");
  Serial.print(",");
  Serial.print(windgustms, 1);
  //Serial.print(",windgustdir=");
  Serial.print(",");
  Serial.print(windgustdir);
  //Serial.print(",windspdms_avg2m=");
  Serial.print(",");
  Serial.print(windspdms_avg2m, 1);


byte windspdavg[120]; //120 bytes to keep track of 2 minute average
int winddiravg[120]; //120 ints to keep track of 2 minute average
//float windgust_10m[10]; //10 floats to keep track of 10 minute max //Yann: to check if OK
volatile float rain5m[5]; //Niroshan 5 float to keep rain data of 5 mnts  //Yann: added volatile
//int windgustdirection_10m[10]; //10 ints to keep track of 10 minute max
volatile float rainHour[60]; //60 floating numbers to keep track of 60 minutes of rain

//These are all the weather values that wunderground expects:
//int winddir = 0; // [0-360 instantaneous wind direction]
//float windspeedms = 0; // [mph instantaneous wind speed]
//float windgustms = 0; // [mph current wind gust, using software specific time period]
//int windgustdir = 0; // [0-360 using software specific time period]
//float windspdms_avg2m = 0; // [mph 2 minute average wind speed mph]
//int winddir_avg2m = 0; // [0-360 2 minute average wind direction]
//float windgustms_10m = 0; // [mph past 10 minutes wind gust mph ]
//int windgustdir_10m = 0; // [0-360 past 10 minutes wind gust direction]
//float humidity = 0; // [%]
//float tempc = 0; // [temperature C]
float rainin = 0; // [rain inches over the past hour)] -- the accumulated rainfall in the past 60 min
float rainin_5m = 0; // [rain inches over the past hour)] -- the accumulated rainfall in the past 60 min
volatile float dailyrainin = 0; // [rain inches so far today in local time]
//float baromin = 30.03;// [barom in] - It's hard to calculate baromin locally, do this in the agent
//float pressure;
//float dewptf; // [dewpoint F] - It's hard to calculate dewpoint locally, do this in the agent

float batt_lvl = 11.8; //[analog value from 0 to 1023]
