*** Data comes from here: https://www.ncdc.noaa.gov/cdo-web/search Select Daily Summaries Ignore date range for now Select "Stations" Enter county, look for stations on map, select a station Click on View Full Details Click on Add to Cart Click on View Cart Selection Output Format: Custom GHCN-Daily CSV Click date range and choose earliest date, i.e. 1948-Jan-01 and click Apply Click Continue Open the Precipitation item and select precipitation Open the temperature item and select TMAX and TMIN Click Continue, you should see: Dataset Daily Summaries Order Start Date XXXX-01-01 00:00 Order End Date 2019-08-03 23:59 Output Format Custom GHCN-Daily CSV Data Types PRCP, TMAX, TMIN Custom Flag(s) Station Name Units Standard Stations/Locations XXXXXXXX enter email address and click submit order. You should get two emails, the second with a link to the data *** To run the code you need python3 and pip3 pip3 install matplotlib pip3 install numpy pip3 install scipy Then run: python3 rainfalls2.py