Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • Daylight hoursHours
    • Load CD_Daylight.csv as dictionary
    • Average over climate divisions

    • Organize by week

      Code Block
      titleDaylight hours of illinois climate divisions by week
      {'1': {'HRS_DYLT_DIV1': '9.228',
             'HRS_DYLT_DIV2': '9.228',
             'HRS_DYLT_DIV3': '9.367',
             'HRS_DYLT_DIV4': '9.367',
             'HRS_DYLT_DIV5': '9.350',
             'HRS_DYLT_DIV6': '9.467',
             'HRS_DYLT_DIV7': '9.489',
             'HRS_DYLT_DIV8': '9.600',
             'HRS_DYLT_DIV9': '9.600',
             'WEEK': '1',
             'average': 9.410666666666664},
      '10': {'HRS_DYLT_DIV1': '11.400',
      
      	...


    • Do these weeks match with cdc_week old or new?

  • Weather Data

    • Create weather dictionary

      • load 1109

      • convert Fahrenheit to Celsius

      • convert inches to cm

      • Organize by year/month/day



        Code Block
        titleWeather Dictionary Year/Month/Day
        { '2017': 
         {'1': 
         {'1': 
         {'climate_div': '9', 'precip': 0.0762, 'state': 'IL', 'temp_max': 7.777777777777778, 'temp_min': 0.7222222222222207}, '10': 
         {'climate_div': '9',
         ...


    • Create degree week dictionary