Page tree

Versions Compared

Key

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

...

  1. load epi week finder
    1. Used to convert YYYY-MM-DD to EPI Year, Week, DOW
  2. Load weather data from 110x
  3. Convert to dictionary
    1. convert dates to epi week
    2. average temp max and temp min
    3. convert fahrenheit to celsiu
    4. convert inches to cm
    5. Dictionary structure
      1. [year][week]['daily']
        1. contains daily precip and temp_average
  4. Calculate weekly values of temp and precip
    1. precip - add up total for week
    2. degree week
      1. ((Sum daily averages for week)/7) - 22.0 = dw
        1. if  dw< 0; degree week = 0
        2. else; degree week = dw
    3. Dictionary structure
      1. [year][week]['weekly']
  5. Calculate seasonal averages wonder if this should be the last week and not the average?
    1. winter = weeks [1,13], spring [14, 26], etc.
      1. (sum weekly degree week)/13
  6. Calculate seasonal 30 year normals
    1. (sum 30 year season values)/30
  7. Calculate weekly 30 year normals
    1. (sum 30 year week values)/30
  8. Calculate Abnormal values for year of model