Today we released a new extension that makes it easy to import weather data in IBM SPSS Modeler. This extension imports weather data for a given date for each location in a column. The types of locations that can be used with this extension are either valid 3-digit Airport station codes or Weather Station IDs. Stream You have the option to return the last record on file for the date or select the record that is the minimum or maximum for each of the weather features. For example you can return the records for a date that contain the minimum temperature for the date at each location. The following attributes are returned when the node is executed:
  • Time
  • Temperature
  • Dew.Point
  • Humidity
  • Sea Level Pressure
  • Visibility
  • Wind Direction
  • Wind Speed
  • Gust Speed
  • Precipitation
  • Events
  • Conditions
  • Wind Dir Degrees
  • DateUTC
  • DateTime
You can download this extension from the GitHub repository.

This repository has directions for installing the extension as well as an example dataset and Modeler stream that imports weather data. We hope this extension makes it easy to include weather data in analysis or models built with IBM SPSS Modeler.

9 comments on"Import Weather Data with New SPSS Modeler Extension"

  1. AdolfoRamírez February 15, 2016

    wow…. lets try it!

  2. Hey Greg
    I tried the weather underground extension and it didn’t work.
    I checked the R console output and it complains that url doesn’t exist.

    *************************************
    Snapshot of console output

    Loading required package: weatherData
    [1] “weatherData is loaded correctly”
    Loading required package: plyr
    [1] “plyr is loaded correctly”
    [1] “55AK” “AZ17” “CL33” “IAD” “X59” “EFW” “LL45” “3II1” “MHK” “ASD”
    [11] “3GM” “23MN” “09M” “NC49” “09NE” “2Q9” “93OH” “OK62” “60OR” “PS61”
    [21] “MEM” “0TA3” “JWY” “4XS8” “WN24” “0WI5”
    URL does not seem to exist: http://www.wunderground.com/history/airport/55AK/2015/12/31/DailyHistory.html?format=1
    The original error message:
    cannot open the connectionURL does not seem to exist: http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=55AK&month=12&day=31&year=2015&format=1

    ************************************

    Am I missing something ?

  3. Hello !
    When I run the node I get a problem saying “failed to start R”. I’ve done done all the required installations. Can you help me please ?
    Thank you in advance.
    Abdou

  4. Hello,
    I didn’t install the good version of R (31.0) for SPSS Modeler 17.1. It’s OK now?
    Thanks

  5. Is it possible also to get the forcast of the weather in SPSS Modeler?

Join The Discussion

Your email address will not be published. Required fields are marked *