/// <summary>Gets the value.</summary>
        public double Value(int arrayIndex = -1)
        {
            AirTemperatureFunction airtempfunction = new AirTemperatureFunction();

            //airtempfunction.XYPairs = XYPairs;
            return(airtempfunction.Linint3hrlyTemp(maxt_soil_surface, mint_soil_surface, XYPairs));
        }