changeset 503:7978b286fcfa

corrected call to new weather indicator function
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 27 May 2014 17:09:10 -0400
parents 33574b94f09e
children a40c75f04903 ad518f0c3218
files python/pavement.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: