diff --git a/routes/weather.js b/routes/weather.js index 2f4dfdb..3be2939 100755 --- a/routes/weather.js +++ b/routes/weather.js @@ -305,6 +305,7 @@ function calculateWeatherScale( adjustmentMethod, adjustmentOptions, weather ) { // Zimmerman method if ( adjustmentMethod === 1 ) { + var humidityBase, tempBase, precipBase; // Check to make sure valid data exists for all factors if ( !validateValues( [ "temp", "humidity", "precip" ], weather ) ) {