 
   fetchForecast = (callback) ->
 
-    location = 'LAT,LNG'
     forecastKey = process.env.HUBOT_FORECAST_KEY
     exclude = 'hourly,daily,flags'
 
-    base_url = "https://api.forecast.io/forecast/#{forecastKey}/#{location}"
+    base_url = "https://api.forecast.io/forecast/#{forecastKey}/#{LOCATION}"
     url = "#{base_url}?units=us&exclude=#{exclude}"
 
     console.log "[Forecast] Requesting forecast data: #{url}"

    _delay = "#{Math.round(delta / 60 / 1000)}"

    _now = new Date().getTime()
    _link = "http://forecast.io/#/f/LAT,LNG/#{Math.round(_now / 1000)}"

    msg = "WEATHER: #{_percent}% chance of inclement weather in the next hour for at least #{_minutes} minutes. It will be worst in #{_delay} minutes (#{_intensity} precipitation). #{_link}"


#   jeffbyrnes

KV_KEY = 'forecast-alert-datapoint'
LOCATION = process.env.HUBOT_LAT_LNG

module.exports = (robot) ->
  postWeatherAlert = (json, callback) ->
