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