# HG changeset patch # User Nicolas Saunier # Date 1401224950 14400 # Node ID 7978b286fcfab2c1275eec61582056ec8a773246 # Parent 33574b94f09e995fea8cf94c794478dbec87d84c corrected call to new weather indicator function diff -r 33574b94f09e -r 7978b286fcfa python/pavement.py --- a/python/pavement.py Tue May 27 15:43:14 2014 -0400 +++ b/python/pavement.py Tue May 27 17:09:10 2014 -0400 @@ -302,7 +302,7 @@ dates = self.data[nonZeroIndices]['date_mesure'] measures = self.data[nonZeroIndices][dataLabel] for i in range(1, len(dates)): - nDaysTNegative, nDaysThawFreeze, deltaTemp, nConsecutiveFrozenDays, totalRain, totalSnow, snowAboveThreshold, stdevTemp = ecWeatherIndicators(weatherData, dates[i-1], dates[i], snowThreshold, weatherDataType, minProportionMeasures) + nDaysTNegative, nDaysThawFreeze, deltaTemp, nConsecutiveFrozenDays, totalRain, totalSnow, snowAboveThreshold, stdevTemp = weatherIndicators(weatherData, dates[i-1], dates[i], snowThreshold, weatherDataType, minProportionMeasures) if dates[i-1].year+1 == dates[i].year: winter = 1 if days[i-1]<365: