You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Follows fortran program 


  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 values
    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
  • No labels